Skip to main content

Connect Gemini to DataDoe

Connect the Gemini web app to DataDoe to ask about your Amazon sales, advertising, and inventory. You sign in to DataDoe during setup.

This guide covers custom connectors in the Gemini web app. For the terminal agent, see Using Gemini CLI.

Before you start

  • You have a DataDoe account with your Amazon accounts connected.
  • You can add custom connectors in Gemini.
  • Your role allows MCP OAuth. See Manage roles and access.

Gemini signs in to DataDoe as a public OAuth client. DataDoe does not issue a client secret.

If your Organization uses a different server address, copy it from Integrations > MCP (opens in a new tab) and use it everywhere this guide shows https://mcp.datadoe.com/mcp/v1. See What is DataDoe MCP?.

Step 1: Add the connector

  1. In Gemini, open Settings, then Connectors, and add a custom connector.
  2. Enter DataDoe as the name.
  3. Paste this server address.
https://mcp.datadoe.com/mcp/v1
  1. Save the connector and start the connection.

Gemini registers itself with DataDoe. If it opens the DataDoe sign-in page, go to Step 3.

Step 2: Enter a DataDoe client ID

If automatic registration fails, Gemini asks for a client ID and client secret. Register a client with DataDoe, then paste the client_id from the response.

  1. In the custom connector form, open the additional settings and copy the redirect URI. It starts with https://oauth-redirect.googleusercontent.com/. It is not the DataDoe server address.
  2. Register the client from a terminal. Replace YOUR_GEMINI_REDIRECT_URI with the redirect URI you copied.
curl -X POST https://auth.api.datadoe.com/auth/register \
  -H 'content-type: application/json' \
  -d '{"client_name":"Gemini","redirect_uris":["YOUR_GEMINI_REDIRECT_URI"],"token_endpoint_auth_method":"none","grant_types":["authorization_code","refresh_token"],"response_types":["code"],"scope":"mcp:read mcp:write offline_access"}'
  1. Copy client_id from the response and paste it into Gemini as the client ID.
  2. Leave the client secret empty.

Use this same registration address for https://mcp.datadoe.com and for a white-label address on mcp.datadoe.com.

If DataDoe rejects the redirect URI, check that you copied the value from Gemini and not the server address.

Step 3: Approve access

  1. Sign in with your DataDoe account for the Organization you want to use.
  2. Review the access request and approve it.
  3. Return to Gemini.

Step 4: Check the connection

Start a new Gemini chat and send:

Use DataDoe to list my connected Amazon accounts.

If Gemini lists the accounts, the connection is ready. Then ask:

Use DataDoe to summarize my Amazon sales and advertising spend for the last 7 days.

Name the Amazon account or marketplace if you manage more than one.

Review tool requests before you approve them. Tools that perform Actions can change your Amazon data.

If you need help

If you cannot add a custom connector, check that your Google account can use connectors in Gemini.

If sign-in fails, check the server address, allow pop-ups and redirects, and confirm the client ID is the value DataDoe returned. Leave the client secret empty.

If Gemini connects but returns no data, check your DataDoe Organization and Amazon connections, then ask Gemini to use DataDoe explicitly.

Helpful resources


DataDoe MCP resources

Check the following resources for more information: