diff --git a/README.md b/README.md index ee6fb562..173c3ac8 100644 --- a/README.md +++ b/README.md @@ -104,8 +104,8 @@ Follow [these instructions](./docs/slack_app_create.md) to create a new Slack Ap | `SLACK_TOKEN` | Response needs an OAuth access token to use the Slack API.

Copy the Bot Token that starts `xoxb-...` from the OAuth & Permissions section of your Slack App and use it to set the `SLACK_TOKEN` variable.| | `SITE_URL` | Response needs to know where it is running in order to create links to the UI in Slack. Whilst running locally, you might want this set to something like `http://localhost:8000`. | | `SLACK_SIGNING_SECRET` | Response uses the Slack signing secret to restrict access to public endpoints.

Copy the Signing secret from the Basic Information page and use it to set the `SIGNING SECRET` variable. | -| `INCIDENT_CHANNEL_ID` | When an incident is declared, a 'headline' post is sent to a central channel.

See the [demo app settings](./demo/demo/dev.py) for an example of how to get the incident channel ID from the Slack API. | -| `INCIDENT_BOT_ID` | We want to invite the Bot to all Incident Channels, so need to know its ID.
/>See the [demo app settings](./demo/demo/dev.py) for an example of how to get the bot ID from the Slack API. | +| `INCIDENT_CHANNEL_ID` | When an incident is declared, a 'headline' post is sent to a central channel.

See the [demo app settings](./demo/demo/settings/dev.py) for an example of how to get the incident channel ID from the Slack API. | +| `INCIDENT_BOT_ID` | We want to invite the Bot to all Incident Channels, so need to know its ID.
See the [demo app settings](./demo/demo/settings/dev.py) for an example of how to get the bot ID from the Slack API. | | `SLACK_CLIENT` | Response needs a shared global instance of a Slack Client to talk to the Slack API. Typically this does not require any additional configuration.
from response.slack.client import SlackClient
SLACK_CLIENT = SlackClient(SLACK_TOKEN)
| ## 3. Running the server