C1 provides identity governance and just-in-time provisioning for Slack. Integrate your Slack instance with C1 to run user access reviews (UARs) and enable just-in-time access requests.
Yes, there are TWO kinds of Slack integration! The instructions below connect a Slack Pro or Business+ workspace with C1 so that you can review access data and grant user access to Slack.(We also have an connector for Slack Enterprise Grid accounts.)If you want to install the C1 Slack app, so that you and your colleagues can request access and get notifications about new C1 tasks in your Slack workspace, go to the Settings page in C1 and click Notifications.
*The connector can sync and provision IdP groups only if SSO is configured for your Slack Business+ instance. IDP group provisioning is not supported for GovSlack instances.A limitation in the Slack APIs means that automatic account provisioning is not currently supported for Slack Business+ workspaces.
Connector actions are custom capabilities that extend C1 automations with app-specific operations. You can use connector actions in the Perform connector action automation step.
Action name
Additional fields
Description
enable_user
user_id (string, required)
Activate a Slack user account by setting active to true via SCIM API
disable_user
user_id (string, required)
Deactivate a Slack user account by setting active to false via SCIM API
Click Create an App and select the From scratch option.
3
Give your new Slack app a name, such as “C1 integration”, and select the workspace you want to integrate with C1.
4
Click Create App.
5
Your new app opens. From the menu on the left, select OAuth & Permissions.
6
Scroll down to the Scopes section of the page. In the Bot Token Scopes area, add the following OAuth Scopes:
channels:join
channels:read
groups:read
team:read
usergroups:read
userprofile:read
users:read
users:read.email
7
Business+ users only: In the User Token Scopes area, add the following OAuth Scope:
admin
The admin scope provides access to the Slack SCIM API, which is used to sync users, IDP groups, and enable/disable user accounts on Business+ workspaces.Note: Slack restricts the other admin.* scopes (such as admin.teams:read, admin.roles:read, admin.usergroups:read, admin.users:read, and admin.users:write) to Enterprise Grid plans only. Do not add these scopes on a Business+ workspace — Slack will not grant tokens with these scopes outside of an Enterprise Grid org-level installation. If you need these capabilities, consider upgrading to Enterprise Grid or use the Slack Enterprise Grid connector instead.
8
Scroll up to the top of the page. In the OAuth Tokens for Your Workspace area, click Install to Workspace.
9
When prompted, allow your new app to access the Slack workspace.
10
Your user OAuth token is created. Copy and save the token value.
That’s it! Next, move on to the connector configuration instructions.
The Connector Administrator or Super Administrator role in C1
Access to the set of Slack credentials generated by following the instructions above
Cloud-hosted
Self-hosted
Follow these instructions to use a built-in, no-code connector hosted by C1.
1
In C1, navigate to Integrations > Connectors and click Add connector.
2
Search for Slack and click Add.
3
Choose how to set up the new Slack connector:
Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
Add the connector to a managed app (select from the list of existing managed apps)
Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed.If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
Find the Settings area of the page and click Edit.
7
Business+ users only: Paste the token into the Business plus token field.
8
If you’re using a GovSlack instance, click the checkmark to Enable GovSlack.
9
Pro users only: Paste the token into the Access token field.
10
Click Save.
11
The connector’s label changes to Syncing, followed by Connected. You can view the logs to ensure that information is syncing.
That’s it! Your Slack connector is now pulling access data into C1.
Follow these instructions to use the Slack connector, hosted and run in your own environment.When running in service mode on Kubernetes, a self-hosted connector maintains an ongoing connection with C1, automatically syncing and uploading data at regular intervals. This data is immediately available in the C1 UI for access reviews and access requests.
In C1, navigate to Integrations > Connectors > Add connector.
2
Search for Baton and click Add.
3
Choose how to set up the new Slack connector:
Add the connector to a currently unmanaged app (select from the list of apps that were discovered in your identity, SSO, or federation provider that aren’t yet managed with C1)
Add the connector to a managed app (select from the list of existing managed apps)
Create a new managed app
4
Set the owner for this connector. You can manage the connector yourself, or choose someone else from the list of C1 users. Setting multiple owners is allowed.If you choose someone else, C1 will notify the new connector owner by email that their help is needed to complete the setup process.
5
Click Next.
6
In the Settings area of the page, click Edit.
7
Click Rotate to generate a new Client ID and Secret.Carefully copy and save these credentials. We’ll use them in Step 2.
# baton-slack-secrets.yamlapiVersion: v1kind: Secretmetadata: name: baton-slack-secretstype: OpaquestringData: # C1 credentials BATON_CLIENT_ID: <C1 client ID> BATON_CLIENT_SECRET: <C1 client secret> BATON_TOKEN: <Slack OAuth token for a Pro workspace> BATON_BUSINESS_PLUS_TOKEN: <Slack OAuth token for a Business+ workspace> # Optional: include if SSO is enabled on your Slack instance BATON_SSO_ENABLED: true # Optional: include if you're using a GovSlack instance BATON_GOV_ENV: true
See the connector’s README or run --help to see all available configuration flags and environment variables.
Create a namespace in which to run C1 connectors (if desired), then apply the secret config and deployment config files.
2
Check that the connector data uploaded correctly. In C1, click Apps. On the Managed apps tab, locate and click the name of the application you added the Slack connector to. Slack data should be found on the Entitlements and Accounts tabs.
That’s it! Your Slack connector is now pulling access data into C1.