Drift is a conversational marketing and sales platform that uses live chat, chatbots, and email to connect businesses with website visitors in real time. Integrating Drift with Frontegg allows your application to read and manage conversations, contacts, and accounts on behalf of your users through OAuth 2.0 authentication.
Prerequisites
Prerequisites
- A Drift account with permission to create developer apps
- Access to the Drift developer portal at dev.drift.com
Go to dev.drift.com and sign in with your Drift account.
Under Your Apps, click Build Your App. Enter a descriptive name (for example, Frontegg Integration) to create your application.
Open the OAuth & Permissions page of your app. Select the scopes your integration needs:
| Scope | Description |
|---|---|
conversation_read | Read conversations and messages |
conversation_write | Create conversations and send messages |
contact_read | Read contact records |
contact_write | Create and update contacts |
account_read | Read account records |
Minimum required scopes
Minimum required scopes
For basic read-only functionality, you need: conversation_read and contact_read.
Scopes are bound at grant time
Scopes are bound at grant time
Drift access tokens are bound to the scopes granted when the app is connected. If you change the scopes later, you must reconnect the integration so a new token is issued.
On the same OAuth & Permissions page, set the redirect URL. The value you enter here must exactly match the one Frontegg uses.
Enter your Frontegg Redirect URL:
https://YOUR_MCP_GATEWAY_URL/integration-callback
In your app settings, locate the Client ID and Client Secret. Copy both values — you will need them to configure the integration in the Frontegg portal.
Keep your credentials secure
Keep your credentials secure
Never share or commit your Client Secret to version control.
Once you have obtained your Client ID and Client Secret from the steps above, enter them in the integration configuration page of the Frontegg portal:
- Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → Drift.
- Enter the Client ID and Client Secret in the corresponding fields.
- Select the required scopes.
- Click Save.