# Create App in Slack to get Credentials

We will use the Slack Web API for this integration, so you will need to obtain credentials for it. These will be used to provision your integration on Pandium.

1. Within [this Slack Quickstart Guide](https://api.slack.com/start/quickstart) and follow the steps for:
   * [ ] Creating an app.
   * [ ] Requesting scopes: for *Bot Token Scopes* choose **chat:write** and **users:read**.

There is no need to install or authorize your app through Slack because Pandium will do that when you connect a tenant.

2. On your Slack app's *OAuth & Permissions* page go to the *Redirect URLs* section and add  <https://api.sandbox.pandium.com/v0/author/callback/oauth2>
3. On the *Basic Information* page go to the *App Credentials* section and make note of the *Client ID* and *Client Secret*. These will be needed to provision your integration on Pandium.
4. Confirm that your app has the necessary bot configuration by navigating to the App Home page in your Slack app settings.
5. On the App Home page, ensure your bot user is configured:
   * [ ] Find the Your App's Presence in Slack section and verify a bot user exists. If no bot user exists, make sure to double check scopes and a redirect URL were added as part of steps 1 & 2.&#x20;
   * [ ] If you wish to modify your bot Display Name and Default username for the App's bot, click Edit next to "App Display Name".<br>

     <figure><img src="https://4017407078-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MfJn-9R_dn6dvcGNcdk%2Fuploads%2FJh8TRjc1nidbCLCeaUDG%2Fimage.png?alt=media&#x26;token=943b3781-e43a-43db-a36b-040ee84d6cde" alt="" width="504"><figcaption></figcaption></figure>

Now that you have Slack credentials we can use those to set up an integration on your Pandium Sandbox integration hub!
