PrecisionDocs

API & Connectors - Help Center

Connect your AI as part of starting your first project. The guided setup takes you into Claude or ChatGPT.

How do I connect Claude, ChatGPT, Claude Code or Codex?

Connecting is the first part of the new-project setup. It takes you from logging in to starting a site study in your AI. There is no API key to create.

  1. Log in to PrecisionDocs. Open the guided setup under Account -> Integrations. Step 2 of New Project shows the same connection steps for the AI you pick.
  2. Choose your AI. Select Claude or ChatGPT and follow the buttons and short instructions shown. Claude Code and Codex CLI have their own setup steps on the same page, and Other MCP connects any other agent that speaks MCP.
  3. Approve the connection, then start. Finish logging in when your AI asks and approve access. Use the button under Start a site study to open your AI with a first message ready. Send it, then give your site address.

You only need to connect once. After that, ask your AI for maps, concept site plans, or reports in your usual chat.

Check Connected apps in PrecisionDocs to see your connections. Use Set limit to choose what a connection can spend or Disconnect to remove it.

If a button or screen looks different, return to the setup for your selected app. For another client or a custom integration, see the developer documentation.

What is the exact setup for my app?

Open the guided setup for the app you use. PrecisionDocs shows the current buttons, links, and any text you need to copy.

Your AIWhere to start
ClaudeConnect Claude
ChatGPTConnect ChatGPT
Claude CodeConnect Claude Code
Codex CLIConnect Codex
Any other MCP agentConnect another agent

Claude: Choose Connect to Claude, then follow the steps to add, connect, and approve PrecisionDocs.

ChatGPT: Choose Open ChatGPT Plugins, then follow the instructions beside the button. If your account needs Developer mode or a workspace administrator's approval, the setup explains what to do.

Claude Code and Codex CLI: Copy and run the command shown in your selected app's setup, then finish logging in through your browser.

Other MCP: Add PrecisionDocs to your agent as a remote MCP server with the URL shown, choose OAuth, then approve on PrecisionDocs.

Each setup ends with Start a site study. You can also use Copy the setup prompt if your assistant needs the instructions again.

For Gemini CLI, Cursor, a managed Claude workspace or another MCP client, see the developer documentation.

An agent that only runs local servers bridges with npx -y --before=2026-10-15 mcp-remote@0.15.1 https://mcp.precisiondocs.ai/mcp. The bridge logs in through your browser the same way.

Building your own integration? See the developer documentation.

How do I set up ChatGPT Custom GPT Actions?

ChatGPT Custom GPT Actions is the one setup that still uses an API key, because a GPT Action cannot open a browser to log in. It lives under Advanced: API key for scripts, CI and ChatGPT Actions on Account -> Integrations.

  1. Create a key on Account -> API keys and copy it while it is visible.
  2. In ChatGPT, create or edit a Custom GPT. You can paste Copy GPT setup prompt into the ChatGPT Create tab first and let the builder scaffold the GPT.
  3. Go to Configure -> Actions -> Create new action, click Import from URL, and paste https://api.precisiondocs.ai/v1/openapi.json (use Copy OpenAPI URL). Do not paste it into the large Schema editor.
  4. Set Authentication -> API Key -> Bearer and paste the key in that authentication field only.
  5. Paste https://precisiondocs.ai/privacy into the GPT Privacy policy field.
  6. Use Copy GPT instructions and paste the text into the GPT Instructions field. Do not paste the key into Instructions or into chat.

OpenAI documents GPT Actions, OpenAPI schemas, and API key bearer authentication in Configuring actions in GPTs.

How should I handle PrecisionDocs API keys and connected apps safely?

MCP clients - the Claude app, ChatGPT as a plugin, Claude Code, Codex, and any other MCP client - never use a key. They log in with your account and act as you. Account -> Integrations -> Connected apps lists them, and Disconnect revokes one immediately.

A key exists only for the REST API and ChatGPT Actions. Any active member of the workspace can create a key and revoke their own; owners see and can revoke every key in the workspace. A key is shown once when created or rotated; PrecisionDocs stores only a hash, so an existing key cannot be copied later.

Rules

  • Send a key only as the Authorization: Bearer header. Never put one in a URL, an MCP config, a chat message, Slack, email, a support ticket, a screenshot, a shared doc, or GPT Instructions.
  • In ChatGPT, paste the key only in Configure -> Actions -> Authentication.
  • Use Rotate if you lost the key or need a fresh copy, and Revoke immediately if a key is exposed.
  • The visible prefix, such as pd_live_abc, is an identifier only. It is not enough to authenticate.

Limiting what one key can spend

A key can carry a spending limit per day, per week or per month, so a single integration cannot consume the whole wallet. The limit is enforced whenever the key is used: a key that reaches it returns a cap-exceeded error while the rest of the workspace keeps working. Choose the limit when you create the key on Account -> API keys, and change it later with Set limit on the key's row. An owner can also set Member spending limits on the same tab, which count everything one member's keys and connected apps charge together.

A connected app carries the spending limit you chose when you approved it, if any. Use Set limit on that app's row in Connected apps to set, raise or remove it - the app's next call reads the new limit. A connection that reaches it returns a cap-exceeded error until the next UTC day, the next week (Monday, 00:00 UTC) or the next calendar month. A key's or connection's limit is checked before every call that spends credits, and counts what that key or connection charged to the wallet.

What the API enforces regardless

  • Cross-organization project IDs return 404, not another tenant's data.
  • Every project path checks project access for the key's organization.
  • API activity is charged to the same workspace credit wallet as every other piece of work, and usage views label it API, MCP, or with the connected app's own name.

Can I do everything through the API that I can in the app?

Yes - the MCP connector and the API are where project work happens now. The PrecisionDocs web app is for logging in, connecting your assistant, managing your workspace and billing, and reviewing a project read-only on Project Home.

Your AI (through the connector) and your own code (through the API) run the same checks before a project is created and build the same project afterwards.

What differs is the experience, not the rules:

  • Claude and ChatGPT draw a parcel map and a sources list inside the chat, so you pick parcels, see which codes were found, and add your own documents there before the project starts.
  • Claude Code and Codex walk the same steps as text, and can upload files from your computer.
  • The API is programmable. Project creation returns the same confirmation prompts your assistant puts to you, so your own integration can put each decision to a person instead of skipping it.

Continue reading

Other help topics

PrecisionDocs
Reload page