# Slack Integration

To further enhance team collaboration, you can integrate Slack with Skydeck.ai to let your GenStudio conversations go directly to your Slack channel. This allows your team to collaborate seamlessly.

### Enable Slack from the Control Center

You must have admin access of your Slack workspace to perform this action. In the **Integrations** section of your Control Center, choose **Apps**, and then click the **Add** button of Slack.

<figure><img src="https://3436857153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFkARfOkDnyuBY4SuepBL%2Fuploads%2Fgit-blob-ebd5175ce4c85346e12b594989e495734fa50b84%2Fenable-slack-integration.png?alt=media" alt="enable slack integration"><figcaption></figcaption></figure>

After that, you will be redirected to a new page where you can allow SkyDeck.ai to access your Slack workspace. Click Allow and then check the Control Center again to check if Slack has been added successfully. This step is only required by the GenStudio workspace owner or admins. The following step can be done by any user in your workspace.

### Add SkyDeck.ai app to a Slack channel

In your Slack workspace, choose any channel that you want to receive GenStudio conversation messages, and add the **SkyDeck.ai** app to that channel. The channel can be public or private, and each one will have a different way to connect to Slack.

<figure><img src="https://3436857153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFkARfOkDnyuBY4SuepBL%2Fuploads%2Fgit-blob-67a9bc7f63713762a28d574fc5b5ea57cc3c3d91%2Fadd-skydeckai-app-to-slack-channel.png?alt=media" alt="add skydeckai app to slack channel"><figcaption></figcaption></figure>

### Send messages to a public channel

For public channels, SkyDeck.ai has already been able to see all of them after you connect Slack in the Control Center, so you don't have to configure more. Any user in your GenStudio Workspace can choose to connect their conversations to a public Slack channel. Here are the steps they need to do:

1. Choose a conversation in the left sidebar and enable [Collaboration](https://docs.skydeck.ai/genstudio-workspace/sharing-and-collaboration)
2. Toggle the **Share to Slack** button
3. In the **Pick a channel** dropdown, choose a public channel. Ensure that SkyDeck.ai app has been added to that channel as discussed in the previous section.
4. Click the **Send** button next to the dropdown. If successful, you will see new messages in that Slack channel posted by SkyDeck.ai. If you have not added the app, you will see a message right under the dropdown explaining why.

<figure><img src="https://3436857153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFkARfOkDnyuBY4SuepBL%2Fuploads%2Fgit-blob-2c5338ff46eab45fa583007daceb3387a152a5f4%2Fshare-messages-to-slack.png?alt=media" alt="share messages to slack"><figcaption></figcaption></figure>

### Authorize Slack to send messages to a private channel

For private channels, each user will have to authorize with Slack. The steps are slightly different:

1. Choose a conversation in the left sidebar and enable [Collaboration](https://docs.skydeck.ai/genstudio-workspace/sharing-and-collaboration)
2. Toggle the **Share to Slack** button
3. In the **Authorized applications**, click **Authenticate** right next to Slack. The user will be redirected to a new page to authorize Slack.

<figure><img src="https://3436857153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFkARfOkDnyuBY4SuepBL%2Fuploads%2Fgit-blob-c4a259e90e7cec8bf6a1454aea5190613ce56640%2Fauthorize-slack.png?alt=media" alt="authorize slack"><figcaption></figcaption></figure>

4. If the authorization succeeds, the **Pick a channel** dropdown will now contain additional private channels that the user is in and has the SkyDeck.ai app. User can now connect their private channel with a GenStudio conversation.

<figure><img src="https://3436857153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFkARfOkDnyuBY4SuepBL%2Fuploads%2Fgit-blob-9f4739cf324f3fb400b70388a1bf9ad6c3119bad%2Fpick-a-channel.png?alt=media" alt="pick a channel"><figcaption></figcaption></figure>

### Disconnect the channel

In both cases, if you want to disconnect the channel and the conversation, you can either click the red <mark style="color:red;">**End share**</mark> button in the popup above, or remove the SkyDeck.ai app from that channel.

<figure><img src="https://3436857153-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFkARfOkDnyuBY4SuepBL%2Fuploads%2Fgit-blob-438a27b1af06ecf4cb30202b223976224692aea8%2Fend-channel-sharing.png?alt=media" alt="end channel sharing"><figcaption><p>Click the End share button at the below right corner of the popup</p></figcaption></figure>
