Intercom
Intercom is a customer and client messaging platform. It provides businesses a way to chat with their customers directly on their own websites/platforms and helps build better customer relationships through personalized, messenger-based experiences across the customer journey.
Relyance AI provides two (2) options to connect with a tenant’s Intercom account.
- The first option uses an Access Token created in Intercom.
- The second option uses a OAuth2 / App Token created in the Relyance AI tenant.
Option 1 - Create an Access Token in Intercom

In order to integrate Intercom with Relyance AI using an Access Token we will first need create an Intercom Application with permissions.
In Intercom:
Login to your Intercom account.
Navigate to Settings.
Go to Developers> Developer Hub.
Click on New App.
Enter a name for the app and select Internal integration.

Click on Create App.
Click on Authentication in the sidebar.
Click on Edit and then go to the Permissions section.
Select all Read Only Permissions.
Hover over the Access Token in the section above.
i. If a warning shows up, then click on regenerate the token link in the tooltip message.
ii. Click on the Regenerate token button in the following screen. Go back to the
Authentication tab.

- Copy the Access Token at the top to be used in Relyance.

In the Relyance AI application:
- Login to your Relyance account.
- Navigate to the Settings Menu in the bottom left-hand side.
- Select Integrations.
- Click on the Vendor Integration tab.
- Find the Intercom integration card and click it to open its connections.
- Under Authentication Method, choose Custom.
- Paste the Access Token into its respective field.

Click Save.
At this point, you should see the following result on the Vendor Integrations page:
Congratulations, you are now connected to Intercom.
Option 2 - Create an Oauth2 / App Token link in Relyance AI
In order to integrate Intercom with Relyance AI using an Oauth2 / App Token link created in Relyance, you will need an account that has the correct permissions.
In the Relyance AI application:
Login to your Relyance account.
Navigate to the Settings Menu in the bottom left-hand side.
Select Integrations.
Click on the Vendor Integration tab.
Find the Intercom integration card and click it to open its connections.
Under Authentication Method, choose 0auth2 / App Token.
Click Save.
This will prompt you to choose the account you would like to proceed with. Choose an account with appropriate permissions or a service account.
This will request permission access for Intercom.
Confirm access.
At this point, you should see the following result on the Vendor Integrations page:

Congratulations, you are now connected to Intercom.
The Authentication step asks for:
- Access Token: required; held as a secret.
If the connection reports Connected but returns nothing
These are the ways this integration comes back empty without reporting an error. Generated from the integration catalog, so it tracks what the connection actually asks for.
- A feature you enabled returns nothing. Some scopes belong to a feature rather than to the connection: Data subject requests needs
Read admins,Read and write users. Turning the feature on after the connection exists does not widen the grant it already holds, so re-authenticate the connection. - Authorised, then empty. The connection carries an authorisation, not a password: it stops returning data if the account that granted it loses access, its own permissions narrow, or the grant is revoked at the vendor. None of that reports an error here -- the connection keeps its last status until the next scan.
- A credential rotated at the vendor is not picked up here. Access Token is stored when you save the connection, so regenerating the value at the vendor breaks the next scan until it is re-pasted here. Recording the expiry on the connection means Relyance warns you before it lapses.
Manage this integration with Terraform
Connections for this integration can be managed as code with the Relyance Terraform provider. Non-secret fields go in auth.params; secret fields go in auth.secrets_wo, which is write-only — never stored in Terraform state. Rotate secrets by bumping auth.secrets_wo_version.
OAuth (browser authorization)
The OAuth (browser authorization) method uses a browser authorization flow, so the connection is created in the Relyance app. Manage it in Terraform afterwards by importing it (terraform import relyance_integration_connection.example intercom/<connection_id>) or reading it with the relyance_integration_connection data source.
Access token
resource "relyance_integration_connection" "intercom_1" {
vendor = "intercom"
name = "<your connection name>"
auth = {
method = "access-token"
params = {
data_storage_location = "us"
}
# Secret fields are write-only: sent to Relyance, never stored in state.
secrets_wo = {
ACCESS_TOKEN = var.intercom_access_token
}
secrets_wo_version = 1
}
scans = { "data-inspection" = { enabled = true } }
}

