Gemini Enterprise can integrate with Slack to deliver AI-powered answers and search to your Slack users, directly in their Slack workspace. After you configure the Gemini Enterprise app for Slack, your users can send prompts to Gemini Enterprise and receive answers that incorporate data from all connected Gemini Enterprise data stores.
Limitations
The Gemini Enterprise app for Slack has the following limitations:
- Supports only Gemini Enterprise search. Data store actions are not supported.
- Does not support Workforce Identity Federation. An administrator must set up the Gemini Enterprise app for Slack using Google Identity. For more information, see Before you begin.
Before you begin
Ensure that you have the following before configuring the Gemini Enterprise app for Slack:
- Access to the Slack AI add-on. For information about Slack AI, see the Slack website.
- A Gemini Enterprise app. If you haven't created an app yet, see Create an app.
- A configured Gemini Enterprise app that uses Google Identity as the identity provider. For information about setting up Google Identity, see Configure identity provider.
- Configured data stores for any services that you want users to be able to search. For information about connecting Google and third-party data sources with Gemini Enterprise, see Introduction to connectors and data stores.
- The Project IAM Admin
role (
roles/resourcemanager.projectIamAdmin) for your Google Cloud project. Google Cloud OAuth 2.0 credentials for your Slack instance. To get the credentials, do the following:
In the Google Cloud console, navigate to APIs & Services > Credentials.
Click Create credentials, then select OAuth client ID.
In the Application type drop-down, select Web application.
For Name, enter a name for the OAuth 2.0 client.
In the Authorized redirect URIs section, click Add URI.
Enter the URL
https://vertexaisearch.cloud.google.com/slack/oauth_callback.Click Create.
When the OAuth client created dialog appears, copy the values of Client ID and Client secret.
The ID of your Slack workspace.
To obtain your Slack workspace ID:
- Open your Slack workspace in a web browser.
- In the URL, copy the string starting with
T. For example, in the URLhttps://app.slack.com/client/T0123456789/..., the workspace ID isT0123456789.
Connect your Slack workspace with Gemini Enterprise
Register your Slack workspace in the settings of your Gemini Enterprise app.
In the Google Cloud console, go to the Gemini Enterprise page.
In the Apps list, select the Gemini Enterprise app to which you want to connect Slack. Ensure that you select an app in the
globalregion.Click Integration > Slack.
Fill out the required fields:
- Enter your Slack workspace ID.
- Enter your Google Cloud OAuth 2.0 client ID.
- Enter your Google Cloud OAuth 2.0 client secret.
Click Save.
Install the Gemini Enterprise app for Slack in your Slack workspace
After registering your workspace, install the Gemini Enterprise app for Slack in your Slack workspace.
Click the following link:
Click Allow.
In your Slack workspace settings, verify that the app installed successfully. If you have a Workspace Owner or Workspace Admin role, you can check to see if the Gemini Enterprise app for Slack has been successfully installed by clicking Manage > Installed Apps.
After installing the app, each user must grant one-time access to the Gemini Enterprise app for Slack if they want Gemini Enterprise to search their data. This authorization is done separately by each user. For instructions, see User authorization.
Use the app in Slack
After users authorize the Gemini Enterprise app for Slack, they can interact with it in the following ways:
- Direct messages: In a direct message with the Gemini Enterprise app for Slack, users can ask questions to get answers from Gemini Enterprise.
Slash commands: In any Slack channel, users can enter the slash command
/Gemini Enterprise YOUR_QUESTIONto ask a question. The Gemini Enterprise app for Slack replies with an answer that is only visible to that user.Replace YOUR_QUESTION with the question that you want to ask Gemini Enterprise.
Channel mentions: If a user mentions the Gemini Enterprise app for Slack in a channel, it replies in a thread that is visible to all other users in the channel.
What's next
- To connect your data sources to Gemini Enterprise, see Connect a Google data source and Connect a third-party data source.
- To integrate Gemini Enterprise with Chrome Enterprise cloud-managed browsers, see Configure Chrome Enterprise cloud-managed browsers.