This page describes how to create a data store, and connect Dropbox to Gemini Enterprise.
Before you begin
Before you set up your Dropbox data store, do the following:
Grant the Discovery Engine Editor role (roles/discoveryengine.editor). This role is required for the user to create the data store. To grant this role, do the following:
- In the Google Cloud console, go to the IAM page.
- Locate the user account and click the edit Edit icon.
- Grant the
Discovery Engine Editorrole to the user. For more information, see IAM roles and permissions.
Create an app in the Dropbox App Console. For more information, see Dropbox configuration.
Create the Dropbox data store
To create a Dropbox data store, do the following:
In the Google Google Cloud console, go to the Gemini Enterprise page.
Select or create a Google Cloud project.
In the navigation menu, click Data stores.
Click Create data store.
On the Select a data source page, enter Dropbox into the search field. The Dropbox card displays.
Click Select.
In the Data section, fill in the following fields:
For the Connector mode field, select Federated search and click Continue.
Under Authentication settings, enter the values you copied when you created an app in the Dropbox App Console:
For Client ID, enter the Dropbox app's App key.
For Client Secret, enter the Dropbox app's App secret.
For more information about creating an app in the Dropbox App Console, see Dropbox configuration.
Click Login.
Click Continue.
In the Entities to search section, select the entity types that you want Gemini Enterprise to search.
Click Continue.
In the Actions section, select the actions that you want users to be able to perform in their Dropbox accounts using the Gemini Enterprise assistant.
In the Configuration section:
- From the Multi-region list, select the location for your data connector.
- In the Data connector name field, enter a name for your connector.
- If you selected
USorEUas the location, configure the Encryption settings:- Optional: If you haven't configured single-region keys, click Go to settings page to do so. For more information, see Register a single-region key for third-party connectors.
- Select Google-managed encryption key or Cloud KMS key.
- If you selected Cloud KMS key:
- In the Key management type list, select the appropriate type.
- In the Cloud KMS key list, select the key.
Click Continue.
In the Billing section, select General pricing or Configurable pricing. For more information, see Verify the billing status of your projects and Licenses.
On the Data Stores page, click your data store name to see the status. After the data store state changes from Creating to Active, the Dropbox data store is ready to be used.
After creating the data store, do the following before running any queries:
Connect the app to the Dropbox data store.
Authorize Gemini Enterprise to connect to Dropbox.
For information about the permissions required to perform a search, see Minimum permissions.
Data handling and query execution
This section describes how Gemini Enterprise manages your query and the privacy implications of using the federated data store.
Query execution
After you authorize Dropbox and send a search query to Gemini Enterprise:
- Gemini Enterprise sends your search query directly to the Dropbox API.
- Gemini Enterprise blends the results with those from other connected data sources and displays a comprehensive search result.
Data handling
When using third-party federated search, the following data handling rules apply:
- Your query string is sent to the third-party search backend (Dropbox API).
- These third parties may associate queries with your identity.
- If multiple federated search data sources are enabled, the query might be sent to all of them.
- Once the data reaches the third-party system, it is governed by that system's terms of service and privacy policies.
What's next
To provide a user interface for querying your data, create an app and connect it to the Dropbox data store.
To preview how your search results appear after your app is set up, see Get search results.
To enable alerts for the data store, see Configure alerts for third-party data stores.