BonData supports three authentication methods for Gainsight.
M2M OAuth
Follow these steps to create Machine-to-Machine credentials for BonData.
Step 1: Access Connected Apps
- Log in to your Gainsight instance as an admin
- Go to Administration → Integrations → Connectors 2.0
- Click Connected Apps
Step 2: Create a Connected App
- Click Create Connected App
- Enter a name (e.g.,
BonData Integration)
- Select Machine-to-Machine as the app type
- Configure the required scopes/permissions
- Click Save
Step 3: Copy Credentials
After creation, you’ll see:
- Client ID - the unique identifier for your app
- Client Secret - the secret used for authentication
Copy both values - the Client Secret may not be shown again.
Step 4: Get Your Application URL
Your Gainsight URL is in the format:
https://yourcompany.gainsightcloud.com
Step 5: Enter Credentials
Enter your Client ID, Client Secret, and Application URL in BonData.
Required Fields (M2M OAuth)
| Field | Description |
|---|
| Client ID | OAuth app Client ID |
| Client Secret | OAuth app Client Secret |
| Application URL | Your Gainsight instance URL |
OAuth Code Flow
Follow these steps to configure OAuth authentication for BonData.
Step 1: Access Connected Apps
- Log in to your Gainsight instance as an admin
- Go to Administration → Integrations → Connectors 2.0
- Click Connected Apps
Step 2: Create a Connected App
- Click Create Connected App
- Enter a name (e.g.,
BonData Integration)
- Select Authorization Code as the grant type
- Set the Redirect URI:
https://app.bondata.ai/auth/oauth2/callback
- Configure the required scopes/permissions
- Click Save
Step 3: Copy Credentials
After creation, you’ll see:
- Client ID - the unique identifier for your app
- Client Secret - the secret used for authentication
Copy both values - the Client Secret may not be shown again.
Step 4: Get Your Application URL
Your Gainsight URL is in the format:
https://yourcompany.gainsightcloud.com
Step 5: Enter Credentials
Enter your Client ID, Client Secret, and Application URL in BonData, then click Connect to authorize via OAuth.
Required Fields (OAuth Code Flow)
| Field | Description |
|---|
| Client ID | OAuth app Client ID |
| Client Secret | OAuth app Client Secret |
| Application URL | Your Gainsight instance URL |
Access Token
Follow these steps to get an access token for BonData.
Step 1: Get an Access Token
You can obtain an access token in one of these ways:
Option A: From Gainsight Admin
- Log in to your Gainsight instance as an admin
- Go to Administration → Integrations
- Generate or copy an existing access token
Option B: From OAuth Flow
If you have OAuth credentials, you can generate an access token using the OAuth flow and copy it here.
Step 2: Enter Credentials
Enter your Gainsight access token in BonData.
Access tokens may expire. For long-term integrations, consider using the M2M OAuth option instead.
Required Fields (Access Token)
| Field | Description |
|---|
| Access Token | Access token from Gainsight Administration |