# Setting Up AI Access
> Source: https://development.fuze-store.com/docs/store/ai-connections/setting-up-oauth

# Setting Up AI Access

This guide walks you through creating a new AI Connection, approving it from your browser, and connecting it to your AI tool. For a dedicated Claude Desktop walkthrough, see [Connecting Claude Desktop](/docs/store/ai-connections/connecting-claude-desktop).

## Before You Start

- You need **Owner** or **Admin** access to the store you want to connect.
- You need the AI tool's **redirect URI**. This is a URL the AI tool gives you for its own connector (look in its documentation — Claude Desktop and ChatGPT both list theirs).
- The **AI Connections** add-on must be active on your store.

## Creating a New Connection

  Open the sidebar menu and go to **Store Settings** → **AI Connections**.
  Tap **Create**. A full-screen form opens with three sections: **Basics**, **Client**, and **Access**.
  Enter a descriptive **Name** like "Claude Desktop - Finance Review". You will see this name later in the list.
  Pick a **Preset**. Choose Claude Desktop, Claude Code, ChatGPT, Cursor, or Custom. The preset auto-fills the redirect URI and the Public/Confidential setting for you — you can still edit them afterwards.
  Confirm or edit the **Redirect URIs**. For Claude Desktop and ChatGPT, paste the URL their connector dialog gave you. For Claude Code and Cursor, the preset already fills in the loopback URL each CLI uses. You can add up to 5 URIs.
  Confirm the **Connection Type**. **Public** (PKCE, no secret) is the right choice for desktop AI apps and CLI tools. **Confidential** (issues a client secret) is only for server-to-server scripts.
  Select the **Permissions** the AI needs. Grant only what you are comfortable sharing.
  Tap **Create**. You will see your Client ID (and Client Secret, if Confidential) in a one-time reveal dialog — copy them before closing it.

  For **Claude Code** and **Cursor**, the preset fills in a `http://127.0.0.1:<port>/callback` loopback redirect URI that both CLI tools use out of the box, and sets the connection to Public (PKCE). For **Claude Desktop** and **ChatGPT**, the preset also sets Public (PKCE) and leaves the redirect URI blank so you can paste the URL their "Add custom connector" dialog gave you. Pick **Custom** if your AI tool is not in the list.

  **Public** connections use PKCE (a cryptographic proof-key exchange) and do not issue a client secret — they are simpler and fully supported by every modern AI tool. **Confidential** connections issue a client secret you paste alongside the Client ID; they are meant for server-to-server scripts and backend integrations that can safely store a secret. The preset picks a sensible default for each AI tool; you can always toggle it.

  If you chose **Confidential**, the Client Secret is displayed exactly once after you create the connection. Copy it immediately and store it somewhere safe. If you lose it, you must delete the connection and create a new one.

## Form Field Reference

## Approving the Connection

After the connection exists in Fuze Store and you have your Client ID, switch to your AI tool to finish the handshake.

  Paste the **Client ID** into your AI tool's connector form. Paste the Secret too, if you chose Confidential.
  Start the connection from your AI tool. It opens your default browser.
  You land on a Fuze Store consent screen showing the client name, the store, and the list of requested permissions. The store is already chosen for you — each connection is tied to one specific store, so there is no store picker to fill in.
  Review the permissions carefully. If anything looks wrong, tap **Deny**.
  Tap **Approve**. The browser returns to your AI tool, which shows "Connected".
  Start asking questions. The AI will now read the data you approved.

  If the consent screen asks you to log in, enter your Fuze Store credentials. Once you are signed in, the consent flow resumes automatically. You only need to do this once per session.

## Managing Your Connections

The AI Connections list shows every connection you have created. Each entry includes the name, connection type, and a badge list of its permissions.

### Revoking a Connection

  Go to **Store Settings** → **AI Connections**.
  Find the connection you want to remove.
  Tap **Revoke** and confirm.

Revoking removes all access tokens immediately. The AI tool will lose access within seconds. You can always create a new connection later.

### When to Revoke

- The AI tool is no longer in use.
- You suspect credentials have been compromised.
- You want to grant different permissions — revoke and create a new connection.
- A staff member who set up the connection has left the team.

## Troubleshooting

**"Invalid client" in the AI tool**
Your Client ID is wrong. Double-check it matches exactly what Fuze Store shows in the AI Connections list.

**"redirect_uri mismatch"**
The redirect URI you entered in the AI tool must exactly match one of the URIs you saved on the Fuze Store side. Check for typos, trailing slashes, and http vs https.

**"No eligible stores" or an add-on banner on the consent screen**
The store this connection points to does not have the AI Connections add-on active. Add it to that store from **Account** → **Add-ons**, then try connecting again.

**Nothing happens when the AI tool opens a browser window**
You need to be signed into your Fuze Store account in the browser. Open [fuze-store.com](/) in a new tab, sign in, then retry the connection.

  - [AI Connections Overview](/docs/store/ai-connections/overview)
  - [Connecting Claude Desktop](/docs/store/ai-connections/connecting-claude-desktop)
  - [Understanding Permissions](/docs/store/ai-connections/understanding-scopes)
