Skip to main content
Your Google app is a free Google Cloud project, in your name, that all your Google plugins (Gmail, Calendar, Drive, Docs, Sheets, Analytics, Search Console, AdSense and Google Ads) use to get into your account only with your permission. You make it only once and it works for all your agents.
For Drive, Docs, Sheets and Calendar you don’t always need it: if you choose Only what I share, your space’s email is enough. The Google app is for My whole Google account and for the other Google plugins.

With the desktop app: your agent makes it

This is the easiest way. With the MinAI desktop app open on your computer:
1

Sign in to Google in the app's browser

Open the app’s browser and sign in with the Google account you’re going to connect. You do this yourself: your agent never sees your password.
2

Ask your agent

In the chat, something like “Connect my Gmail” or “Make my Google app”. If the plugin’s page says Your Google app is missing, the Ask your agent button takes you to its chat.
3

Watch it work

Your agent creates the project, sets up the permissions screen, fills in the details, publishes it, creates the client and turns on the plugin’s API, all in the app’s browser and without stopping to ask you anything. You can watch while it works. It takes a few minutes.
4

Accept at Google

At the end, your agent sends you the link to connect the plugin. There you choose what it can do and accept on Google’s page: that’s the only part left for you (see Connect your account, below).

By hand, in Google Cloud

If you don’t have the desktop app or would rather do it yourself, it takes about 5 minutes. Do it on a computer: Google’s console is awkward on a phone. Before you start, check which account you’re going to connect:
  • A Gmail account (personal): on the permissions screen you choose External and then you publish the app.
  • A Google Workspace account (your company’s or your domain’s): you choose Internal and there’s no need to publish it.
The button names are those of Google’s console in English. The screenshots are from a test account.

1. Create a project

2

Name it

In Project name, type minai and tap Create. Wait a few seconds.
New Project form with the name minai and the Create button

Project name: minai

3

Check it's selected

At the top, next to “Google Cloud”, it has to say minai. Under Project info you see its Project ID: you don’t need to copy it, it comes inside the JSON in the last step.
The minai project's dashboard with the Project info card and the Project ID highlighted

The Project ID, under Project info

2. Set up the permissions screen

It’s what Google shows you when you connect a plugin.
1

Open Google's page

console.cloud.google.com/auth/overview, with the minai project selected at the top. Tap Get started.
Google Auth Platform not configured yet, with the Get started button

Get started

2

App Information

App name: minai. User support email: pick your email. Tap Next.
App Information step with the name minai, the support email and Next

App name and user support email

3

Audience

Choose External (Gmail account) or Internal (Google Workspace) and tap Next.
Audience step with External selected and Next

Audience: External

4

Contact Information

Type your email and tap Next.
Contact Information step with the email and Next

Contact Information

5

Finish

Check I agree… (Google API Services: User Data Policy), tap Continue and then Create.
Finish step with the policy checkbox checked and Continue

I agree… and Continue

The four steps done and the Create button

Create

You’re done when you see OAuth configuration created!
OAuth configuration created notice

OAuth configuration created!

3. Fill in the app’s details

2

App domain

Under App domain, paste these three links:
App domain section with minai's three links

App domain

3

Authorized domain

Under Authorized domains, tap Add domain and type min-ai.ar. Then tap Save.
Authorized domain 1 with min-ai.ar, Add domain and the Save button

Add domain and Save

Don’t upload a logo: with a logo, Google asks to verify the app.
You’re done when you see Branding changes saved!
Branding changes saved notice

Branding changes saved!

4. Publish the app (Gmail accounts only)

With Google Workspace, skip this step.
1

Open Google's page

console.cloud.google.com/auth/audience. Tap Publish app.
Audience page with Publishing status Testing and the Publish app button

Publish app

2

Confirm

Tap Confirm. Google says it should be verified: there’s no need, it’s yours and only you use it.
Push to production dialog with the Confirm button

Confirm

You’re done when Publishing status says In production. Publishing it keeps the connection from being cut off after 7 days.
Publishing status In production

In production

5. Create the client

2

Application type

Under Application type, choose Web application.
Application type list with Web application

Web application

3

Name and return address

Name: minai. Under Authorized redirect URIs, tap Add URI and paste:
Check Use this client for an AI-powered agent and tap Create.
Client form with the name minai, the redirect URI, the AI agent checkbox and Create

Name, redirect URI and Create

4

Download the JSON

In the OAuth client created window, tap Download JSON before OK: once it’s closed, Google won’t show the secret again.
OAuth client created window with Download JSON and OK

Download JSON

You’re done when you have the file client_secret_….json in your downloads folder.
Closed the window without downloading it? In Clients, open minai, tap Add secret and download the JSON again.

6. Upload the JSON to minai

You upload it in either of these two places:
  • On a Google plugin’s connection page (the link your agent sends you), under Or do it by hand.
  • In Settings → Google → Create your Google app.
Tap Upload the JSON and pick the file client_secret_….json. minai checks it with Google (“Checking it with Google…”) and keeps it: you won’t need it again. If you prefer, tap Or paste the ID and the secret instead and paste the Client ID, the Client secret and, if you want, the Project ID (optional).
If minai says the client is missing the redirect URI, edit the client in Google, add https://app.min-ai.ar/google/callback under Authorized redirect URIs, save and download the JSON again.

Turning on each plugin’s API

Each Google plugin needs its API turned on in your project. If your agent made the app, it already turned on the plugin’s. If not, on the plugin’s connection page tap Turn on in Google, or ask your agent:
  1. Check that it shows your project and tap Next.
  2. Tap Enable. If it was already on, Google says so: go on.
Enable access to APIs: confirm the project and Next

Next

List of APIs to enable with the Enable button

Enable

You have successfully enabled, with the APIs turned on

You have successfully enabled

Connect your account

With your app ready and the API on, on the plugin’s connection page:
1

Choose what it can do

Read and act or Read only (some plugins only have the second). Tap Connect with Google.
2

Pick your account

If Google asks you to pick an account, pick yours. If it says you’re signing back in instead, tap Continue.
Google's account picker, with the accounts blurred

Choose an account

3

If it says it isn't verified

If you see Google hasn’t verified this app, it’s yours: your own email shows up as the developer. Tap Advanced and then Go to min-ai.ar (unsafe).
Google hasn't verified this app notice with the link to go on to min-ai.ar

Advanced → Go to min-ai.ar (unsafe)

4

Accept

If the permission has a checkbox, check it (it comes unchecked) and tap Continue. Each plugin shows its own on its page.
If you already granted that permission, Google may show already has some access: open the list of services to review what you allowed; there may be no checkbox to tick again. Back in minai, it shows “Connecting with Google…” and then “Your agent now has your plugin”, with “Connected as your email. It’ll write to you in the chat.” In a few seconds it takes you to the chat, or tap Back to the chat. If something fails, it says It didn’t connect with the reason; if an API still needs turning on, Turn it on at Google, and then Try again.

If something doesn’t work

  • The link expired: connection links last 24 hours. Ask your agent for a new one.
  • Replacing the client: in Settings → Google, Replace and upload the new JSON.
  • Cutting off access: remove the plugin from the agent and, if you want, revoke the permission from your Google account’s security page.

Your Google app

What it is and who uses it.

Settings → Google

Your app, the space’s email and which agents use your Google.