mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
165 lines
8.8 KiB
Plaintext
165 lines
8.8 KiB
Plaintext
---
|
|
title: "Slack Integration"
|
|
description: "Learn how to setup the Slack integration"
|
|
---
|
|
|
|
This guide will provide step by step instructions on how to configure Slack integration for your Infisical projects.
|
|
|
|
## Setting up Slack integration in your projects
|
|
|
|
<Tabs>
|
|
<Tab title="Infisical Cloud">
|
|
### Create Slack workflow integration
|
|
<Steps>
|
|
<Step title="Navigate to the Workflow Integrations tab in your organization settings">
|
|
In order to use Slack integration in your projects, you will first have to
|
|
configure a Slack workflow integration in your organization.
|
|

|
|
</Step>
|
|
<Step title="Install Slack app to workspace">
|
|
Press "Add" and select "Slack" as the platform.
|
|

|
|
|
|
Give your Slack integration a descriptive alias. You will use this to select the Slack integration for your project.
|
|

|
|
|
|
Press **Connect Slack**. This opens up the Slack app installation flow. Select the Slack workspace you want to install the custom Slack app to and press **Allow**.
|
|

|
|
|
|
This completes the workflow integration creation flow. The projects in your organization can now use this Slack integration to send real-time updates to your Slack workspace.
|
|

|
|

|
|
|
|
</Step>
|
|
|
|
</Steps>
|
|
|
|
### Configure project to use Slack workflow integration
|
|
|
|
<Steps>
|
|
<Step title="Navigate to the Workflow Integrations tab in the project settings">
|
|

|
|
</Step>
|
|
<Step title="Select the Slack integration to use for the project">
|
|
Your project will send notifications to the connected Slack workspace of the
|
|
selected Slack integration when the configured events are triggered.
|
|

|
|
</Step>
|
|
<Step title="Configure the Slack notification settings for the project and click Save.">
|
|

|
|
<Info>
|
|
To enable notifications in private Slack channels, you need to invite the Infisical Slack bot to join those channels.
|
|
</Info>
|
|
You now have a working native integration with Slack!
|
|
|
|
</Step>
|
|
|
|
</Steps>
|
|
|
|
</Tab>
|
|
<Tab title="Self-hosted setup">
|
|
### Configure admin settings
|
|
Note that this step only has to be done once for the entire instance.
|
|
|
|
<Steps>
|
|
<Step title="Navigate to the Integrations tab in the Admin settings">
|
|
Before anything else, you need to setup the Slack app to be used by
|
|
your Infisical instance. Because you're self-hosting, you will need to
|
|
create this Slack application as demonstrated in the preceding step.
|
|

|
|
</Step>
|
|
<Step title="Create Slack app">
|
|
Click the "Create Slack app" button. This will open up a new window with the
|
|
custom app creation flow on Slack.
|
|

|
|
|
|
Select the Slack workspace you want to integrate with Infisical.
|
|
|
|

|
|
|
|
The configuration values of your custom Slack app will be pre-filled for you. You can view or edit the app manifest by clicking **Edit Configurations**.
|
|

|
|
|
|
Once everything's confirmed, press Create.
|
|
|
|
</Step>
|
|
<Step title="Input app credentials from Slack">
|
|
Copy the Client ID and Client Secret values from your newly created custom Slack app and add them to Infisical.
|
|

|
|

|
|
Complete the admin setup by pressing Save.
|
|
</Step>
|
|
|
|
</Steps>
|
|
|
|
### Create Slack workflow integration
|
|
|
|
<Steps>
|
|
<Step title="Navigate to the Workflow Integrations tab in your organization settings">
|
|
In order to use Slack integration in your projects, you will first have to
|
|
configure a Slack workflow integration in your organization.
|
|

|
|
</Step>
|
|
<Step title="Install Slack app to workspace">
|
|
Press "Add" and select "Slack" as the platform.
|
|

|
|
|
|
Give your Slack integration a descriptive alias. You will use this to select the Slack integration for your project.
|
|

|
|
|
|
Press **Connect Slack**. This opens up the Slack app installation flow. Select the Slack workspace you want to install the custom Slack app to and press **Allow**.
|
|

|
|
|
|
Your Slack bot will then be added to your selected Slack workspace. This completes the workflow integration creation flow. Your projects in the organization can now use this Slack integration to send real-time updates to your Slack workspace.
|
|

|
|

|
|
|
|
</Step>
|
|
|
|
</Steps>
|
|
|
|
### Configure project to use Slack workflow integration
|
|
|
|
<Steps>
|
|
<Step title="Navigate to the Workflow Integrations tab in the project settings">
|
|

|
|
</Step>
|
|
<Step title="Select the Slack integration to use for the project">
|
|
Your project will send notifications to the connected Slack workspace of the
|
|
selected Slack integration when the configured events are triggered.
|
|

|
|
</Step>
|
|
<Step title="Configure the Slack notification settings for the project and click Save.">
|
|

|
|
<Info>
|
|
To enable notifications in private Slack channels, you need to invite your Slack bot to join those channels.
|
|
</Info>
|
|
You now have a working native integration with Slack!
|
|
|
|
</Step>
|
|
|
|
</Steps>
|
|
|
|
</Tab>
|
|
</Tabs>
|
|
|
|
## Using the Slack integration in your private channels
|
|
|
|
<Steps>
|
|
<Step title="In the Apps section on Slack, find the Infisical app and view the app details">
|
|

|
|
</Step>
|
|
<Step title="Select Add this app to a channel">
|
|

|
|
</Step>
|
|
<Step title="Find the private channel you want to setup notifications for and press Add">
|
|

|
|
You can now view the private channels in the Slack channel selection fields!
|
|

|
|
</Step>
|
|
</Steps>
|