Add the Cody Bot to your Slack workspace by navigating to your Cody Settings > Integrations and clicking on Install Slack.
Obtain the API Key from Cody Settings > API Keys by clicking on Create API Key.
In your Slack workspace, search for your Cody App and set the API Key in the Home section. The Cody Token can be set by the workspace administrators only.
Go to any channel in your workspace and use the
/assign-bot
command to assign a bot from your Cody account to that channel. Cody won't be able to respond in direct messages and works on slack channels only.To ask questions to your bot, simply type
@Cody
followed by your question. Cody will create a new thread in the channel to reply to your question. All the messages in that thread will be considered Chat History. If you want to start a new conversation, exit the thread and mention@Cody
again.
Change your bots @mention
To change your bot's @mention name, go to the App Configuration section in Slack. Scroll down to 'Bot User' and enter the desired name in this field.