Create an app and a credential
An organization owner or admin sets up access in the Gateway console. You’ll create an application that describes what the integration may reach, an installation of it, and an expiring credential whose token the integration sends.
Before you begin
Section titled “Before you begin”- You’re an owner or admin of the organization in the Gateway console.
- You know the website IDs the integration needs, for example
web_4927_123. - You know which data the integration needs. Start read-only and add more later.
Create the application
Section titled “Create the application”-
Open Applications in the console and select Create application.
-
Choose the Application organization and enter an Application name. Add a Description so other admins know what it’s for.
-
In Website IDs, enter the enrolled websites the integration may reach, separated by commas.
-
Under Supported scopes, select only the scopes the integration needs. See scopes and permissions for what each one allows.
-
Under Data access, turn on Message content, Personal information (PII) or Internal notes only if the integration needs them. These flags never replace scopes; both are required.
-
Optionally limit the application with Restrictions (JSON), using
channel_ids,team_idsorsubsite_ids:{ "team_ids": ["team_4927_123_5"] }An empty list denies every row in that dimension. Operations that can’t apply these filters, such as contacts and configuration, become unavailable to a restricted application.
-
If the integration will add visitor notes or set dispositions, set Author mappings (JSON). Map each website to the native INSIDE operator the change is attributed to:
{ "web_4927_123": 1042 }A mapping only controls attribution. It doesn’t give the application that operator’s permissions.
-
Select Create application.
Install it
Section titled “Install it”-
Open the application and select Create installation.
-
Enter an Installation label that says where it runs, for example
Warehouse integration — production.
The installation inherits the application’s websites and scopes. You can Suspend installation at any time; it takes effect on the next request.
Issue a credential
Section titled “Issue a credential”-
On the installation, open Issue installation credential.
-
Enter a Credential name and choose when the Credential expires. Prefer short expiries and rotate regularly.
-
Optionally narrow the credential with Narrow credential scopes or Narrow credential websites. A credential can only narrow its installation, never widen it.
-
Select Issue credential.
-
Copy the token now. It starts with
igw_live_in production origw_test_in development, and it’s shown only once. Store it in a secret manager or environment variable.
The credential ID shown in the list, such as cred_…, is also its OAuth client ID. The token is the client secret when you use OAuth client credentials.
Rotate or revoke
Section titled “Rotate or revoke”| Action | Effect |
|---|---|
| Rotate credential | Issues a replacement token with a new expiry. The old token stops working immediately. |
| Revoke credential | Stops the credential on its next request. |
| Suspend installation | Stops every credential of the installation until you reactivate it. |