Credentials. The Google client-secret download holds OAuth credentials, so keep it outside the repository and never commit it.
Who it is forA professional who wants to ask an assistant to send email, schedule events, or look up a contact from iMessage.
The problemSwitching between Gmail, Calendar, and Contacts for simple requests takes time, and an assistant needs safe, user-scoped access to do it.
The outcomeA user-scoped Google grant lets the assistant read and modify Gmail, manage Calendar, and search read-only Contacts.
What you need first
- A Vercel account on the Pro plan, since the Hobby plan cannot run the every-minute schedule
- A Kernel account on its free plan for cloud browsers
- A Neon account on its free plan for Postgres
- An iMessage-capable phone to verify the managed Linq line
- A Stripe account only if you want Link wallet purchases
Steps
- In Google Cloud, configure the OAuth consent screen and enable the Gmail API, Google Calendar API, and People API.
- Create OAuth web credentials, add https://connect.vercel.com/callback as a redirect URI, and download the client-secret JSON.
- Run
jq '{clientId: .web.client_id, clientSecret: .web.client_secret}' /absolute/path/to/downloaded-client-secret.json > "$google_credentials_file"to make the file Vercel expects, then create the connector withvercel connect create google --connection-method oauth --name open-instinct --data @"$google_credentials_file". - Run
vercel connect attach --project <project> --environment production --yesand thenrm -f "$google_credentials_file". (inferred, check the README) - Set GOOGLE_CONNECTOR_UID to the returned UID and redeploy.
Prompt for your agent
Using the repo Merit-Systems/OpenInstinct, create and attach a Google connector for the project <project> and set GOOGLE_CONNECTOR_UID. Expected output: the connector UID and a redeployed app. Verify that the credential file was deleted and that no credential file is staged in git.
Caveat. A Google OAuth app in Testing mode only works for listed test users and those grants expire after seven days.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for Merit-Systems/OpenInstinct and "Manage Gmail, Calendar, and Contacts by text"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer