M2M OAuth
Machine-to-machine
OAuth Code Flow
User-delegated
Access Token
Direct token
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
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)
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
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)
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
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.