- Supporting chatbot message is only default reply.
- python since ver.3.6
- Chatbot and API Gateway integration.
- Set your chatbot service endpoint to CHATBOT_ENDPOINT that is environment variable.

- Set your secret key to CHATBOT_SECRET_KEY that is environment variable.

- Open https://api.slack.com/apps & click [Create an App].

- Enter new chatbot app name & select development workspace & click [Create App]

- Set your config to environment variable. It can get from [App Credentials] under [Basic Information] page.
- Set Client ID to SLACK_CLIENT_ID.
- Set Client Secret to SLACK_CLIENT_SECRET.
- Set Signing Secret to SLACK_SIGNING_SECRET.

- Install ngrok.
- Start ngrok service.
ngrok http 3000# install requirements
pip install -r requirements.txt
# run application
python app.py- Open https://api.slack.com/apps. & click your slack application. & redirect to it's setting page.

- Click [OAuth & Permissions] from [Features]. & set copied No.3-3 domain and authorization endpoint to [Redirect URLs] like an image.

- Set application scope under [OAuth & Permissions] page. The setting is like an image.

- Click [Event Subscriptions] from [Features]

- enable [Enable Events]. & set copied No.3-3 domain and slack event endpoint to [Redirect URLs] like an image. & check Verified.

- Click [Subscribe to bot events] & add Bot User Event. The setting is like an image. & Click [Save Changes]

- Click [Manage Distribution] from [Settings]. & click [Add to Slack]. & redirect to access permission page.

- Click [Allow]. & check [Auth complete!]

- Open your workspace. & check existing your slack bot application.


