Skip to content
GitHub

First Setup

After installation, you’ll walk through three steps in the admin dashboard: generate an API key, connect your accounts, and point your agent at Gatelet.

Open http://localhost:4001 and enter the admin token that was printed during installation. You can retrieve it with sudo cat /usr/local/etc/gatelet/secrets/admin-token if needed.

Navigate to API Keys in the sidebar. Click Generate Key and give it a descriptive name (e.g. “openclaw-agent”).

Copy the key — it won’t be shown again. This is the bearer token your agent will use to authenticate with the MCP endpoint.

Navigate to Connections and click Add Connection. Choose a provider (Google Calendar, Outlook Calendar, Gmail, or Outlook Mail) and click the OAuth button.

You’ll be redirected to Google or Microsoft to authorize access. After granting permission, you’ll return to the dashboard with the connection active.

Each connection comes with a default policy that is intentionally restrictive. Read operations are typically allowed, while write operations (create, update, send) are disabled by default. You can edit the policy in the dashboard’s policy editor.

Navigate to Setup in the sidebar. The dashboard can install Gatelet’s MCP config directly into your agent’s configuration file.

Select your agent from the tabs in the MCP configurator. The dashboard generates the correct config snippet for each agent:

AgentConfig fileGuide
OpenClaw./config/mcporter.jsonFull guide
Claude Code~/.claude.jsonSetup details
Gemini CLI~/.gemini/settings.jsonSetup details
Codex~/.codex/config.tomlSetup details

Copy the configuration snippet and paste it into the config file for your agent, or click Install to write it automatically.

Ask your agent to list your calendars or search your email. If everything is configured correctly, the agent will see only the tools allowed by your policies.

Check the Audit Log page in the dashboard to verify tool calls are flowing through Gatelet.