To connect your own tool to Sarbacane Chat, create an app in Sarbacane Chat. You then get an application ID and secret to use for OAuth authentication. You create it in Settings › Marketplace, in eight steps, in a few minutes.
A Sarbacane Chat licence assigned to your user, with access to Settings.
Your tool's redirect URI or URIs, starting with https://.
Basic knowledge of OAuth 2.0. This article is for the person developing the integration.
At the bottom of the left menu, click Settings, then Marketplace.
At the bottom of the list of categories, click Create my own app. The Your applications page opens.
At the bottom of the page, click New Application.
In the Name field, enter your app's name. In the Short desc field, describe what it does.
In the Redirect URI field, enter your tool's URIs, one per line.
In the Scopes field, enter the scopes your tool needs, separated by spaces: widget, faqs, contacts, conversations. If you leave the field blank, only the widget scope is granted.
Optional: on the right of the form, add an image and choose the Main color.
At the bottom of the form, click Create.
Your app's page opens. It shows the Application ID (Client ID), the Application Secret (Client Secret), the Scopes and the Callback urls. You have everything you need to set up OAuth authentication in your tool.
Important: the application secret gives access to your Sarbacane Chat account data. Don't share it, and never put it in publicly visible code.
In Settings › Marketplace, click Create my own app. On your app's card, click the magnifying glass icon.
The URI used by your tool must match one of the declared redirect URIs exactly, character for character. To correct the list, open your app, then click Edit.
Check that the contacts or conversations scopes are listed in your app. To add them, open the app, then click Edit. If the problem persists, contact our Sarbacane Chat experts at [email protected].