Skip to content
Last updated

Drift integration

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

  • A Drift account with permission to create developer apps
  • Access to the Drift developer portal at dev.drift.com

Connect Drift

Step 1: Open the Drift developer portal

Go to dev.drift.com and sign in with your Drift account.

Step 2: Create a new app

Under Your Apps, click Build Your App. Enter a descriptive name (for example, Frontegg Integration) to create your application.

Step 3: Configure OAuth scopes

Open the OAuth & Permissions page of your app. Select the scopes your integration needs:

ScopeDescription
conversation_readRead conversations and messages
conversation_writeCreate conversations and send messages
contact_readRead contact records
contact_writeCreate and update contacts
account_readRead account records

Minimum required scopes

For basic read-only functionality, you need: conversation_read and contact_read.

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.

Step 4: Configure the redirect URL

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

Step 5: Copy credentials

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

Never share or commit your Client Secret to version control.

Configure the Frontegg portal

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:

  1. Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → Drift.
  2. Enter the Client ID and Client Secret in the corresponding fields.
  3. Select the required scopes.
  4. Click Save.

Additional resources