/
How to install BG Dashboard

How to install BG Dashboard

Te dashboard database will be deployed on Gateway server. Make sure you’ve deployed Gateway server https://agatsoftware.atlassian.net/wiki/spaces/SKYP/pages/3063808004

1. Deploy a Win server instanse\Vm

2. Run BG Installer

a. Database configuration

  • Configure the ip address of Gateway server

  • Configure sa account of the sql in Gateway server

  • Choose user and password for dashboard DB

image-20241124-123643.png

b. Gateway Database Configuration

Configure the parameters of the Gateway database

image-20241124-124056.png

c. Dashboard Site Configuration

Configure the dashboard site settings

d. BG Service Configuration

Set up location for the BG services (3 services will be installed)

3. Setting up Azure Integration for BusinessGPT app

  • Sign in to Microsoft Azure Portal.

  • Look for the Azure integration you create How to create an Azure integration with BusinessGPT

  • Go to portal.azure.com and add the following URLs to redirect URLs of Business GPT app:

    https://{BG_DASHBOARD_DOMAIN}/AzureAccount/Login https://{BG_DASHBOARD_DOMAIN}/api/businessgpt/AzureAuthCallbackConsent
  • Update the client ID and secret in the following script.

  • Execute the following SQL script:

    UPDATE TOP(1) SETTINGS SET Value = 'CHANGE_THIS_CLIENT_ID' WHERE [Name] = 'BG_AzureAppClientId' UPDATE TOP(1) SETTINGS SET Value = 'CHANGE_THIS_CLIENT_SECRET' WHERE [Name] = 'BG_AzureAppClientSecret'

7. Configure System Settings

  • The first user to sign in to BG Dashboard will be assigned as the super admin.
    If you want to change the super admin run the following script:

    INSERT INTO [BG_PERMISSIONS]([DataType],  [AccessorType], [InternalAccessorId], [Role])VALUES ('Settings', 'User', 'XXXX', 'Edit');

Replace the ‘XXXX’ with the InternalUserID from [BG_USERS] table and run the script

  • Navigate to Site Management → Business.

  • Set the following parameters:

    • GPT Gateway Client ID: Copy the ClientId from docker.env of the GPT gateway.

    • GPT Gateway Client Secret: Copy the ClientSecret from docker.env of the GPT GATEWAY.

    • Set the GPT Gateway URL (if you don’t have a certificate on the Gateway set the 8080 URL like this http://bgdXgateway.agat.demo:8080 )

  • Set Web Scraper Provider. Search “Apify” in LP for Personal API Token (Optional)

8. IIS settings

Configure the dashboard site following this guide https://agatsoftware.atlassian.net/wiki/spaces/SKYP/pages/2869755926

Related content

BusinessGPT Windows components installer
BusinessGPT Windows components installer
More like this
How to create an Azure integration with BusinessGPT
How to create an Azure integration with BusinessGPT
More like this
BusinessGPT 2.4.1 - July 11, 2024
BusinessGPT 2.4.1 - July 11, 2024
More like this