# 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.
   * [ ] 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="/files/jxwEBWA1dFLJ6L197f2V" 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!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.pandium.com/getting-started/pandium-integration-tutorial/pokemon-of-the-day-part-1/create-app-in-slack-to-get-credentials.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
