Skip to content

Getting started2 min readUpdated

Connect Tulina to Gemini

Add Tulina to the Gemini web app as a custom connector, with one command to get its client ID and secret, then one sign-in.

Gemini, Google's assistant at gemini.google.com, can use Tulina as a custom connector. Once it is connected, it can work in your tools, follow your processes and read your company brain, the same way Claude or ChatGPT do.

Who can do this. Anyone with a Tulina account and a Google account. Gemini gets what your Tulina account can see and do, and nothing more.

How long it takes. 5 minutes.

Gemini does not register itself with Tulina the way Claude and ChatGPT do. It asks you for a client ID and a client secret instead. Step 2 gets them for you.

Step 1. Start the connector in Gemini

  1. Open gemini.google.com, then Settings and Connectors.

  2. Click + Custom.

  3. Paste the Tulina server address:

    https://mcp.tulina.ai/mcp
    
  4. Open Additional settings, then Show more, and click Copy redirect URI.

Keep this window open. The address you copied looks like this, with your own numbers in it:

https://oauth-redirect.googleusercontent.com/r/user_bound_custom-mcp-…

It belongs to your Google account only. Each person who connects Gemini has their own.

Step 2. Get your client ID and secret

Open a terminal and run this command. Replace PASTE_YOUR_REDIRECT_URI with the address you copied, and keep the quotes around it.

On a Mac or Linux:

curl -s https://auth.tulina.ai/oauth/register \
  -H "Content-Type: application/json" \
  -d '{"client_name": "Gemini", "redirect_uris": ["PASTE_YOUR_REDIRECT_URI"]}'

On Windows, in PowerShell:

Invoke-RestMethod -Method Post -Uri https://auth.tulina.ai/oauth/register `
  -ContentType "application/json" `
  -Body '{"client_name": "Gemini", "redirect_uris": ["PASTE_YOUR_REDIRECT_URI"]}'

The answer contains a client_id and a client_secret. Copy both.

Running the command again with the same address gives you the same client ID and secret, so you can always get them back.

Step 3. Finish in Gemini

  1. Back in the Gemini window, paste the Client ID and the Client secret, then click Next.
  2. The Tulina sign-in page opens. Sign in the way you sign in to the app, then allow Gemini to use your account.
  3. Accept Google's notice, then click Connect.

Tulina's tools are now available in Gemini. Ask it something only your company would know to check.

Troubleshooting

An error mentioning invalid_redirect_uri. The address in the command is not the one Gemini gave you. Copy it again with Copy redirect URI, and check that it starts with https://oauth-redirect.googleusercontent.com/r/user_bound_custom-mcp- and has no space or line break in it.

An error mentioning invalid_json or Corps de requête illisible. The quotes in the command were changed, often by a text editor that turns " into “. Copy the command again from this page.

An error mentioning a limit (plafond). Tulina has reached the number of Gemini connections it accepts for now. Write to tech@tulina.ai and we will make room.

Gemini says the sign-in failed. Check that you pasted the client ID and secret from the same answer, with nothing before or after them. Then remove the connector in Gemini and start again from step 1.

Gemini Enterprise. This page covers the Gemini web app. Gemini Enterprise is set up by your Google Cloud admin and works differently. Write to tech@tulina.ai if you need it.

Still stuck?

Book a call and tell us what you are trying to do.

Talk to us

See Tulina in a 30-minute demo.

Book a demo