BetterShield
Appearance

How To Create, Test and End Assistant Connections With BetterShield?

4 min read

Connect Claude, ChatGPT, Cursor, Codex, or another client, test the route, replace a key, and disconnect apps.

Use BetterShield to connect your assistant, test its access and end connections you no longer need. Check the connection result so you know which tools the app can actually use.

Note: Browser sign-in for Claude or ChatGPT requires HTTPS and pretty permalinks.

What it does

‘Allow AI assistant connections’ is off by default. Turning it on also turns on ‘Let AI assistants see security info’, because an assistant needs to read to be useful.

Under ‘Add BetterShield to your assistant’, Claude and ChatGPT come first. You copy the address (‘Connector URL’), add it to the assistant and sign in through your browser. This uses browser sign-in instead of a connection key.

Editors and command-line tools are under ‘Editors & CLI’. ‘Set Up an Editor’ gives each tool a ready-to-paste configuration, and those tools use a connection key. ‘Create Key’ shows the key once. It stays hidden until you press ‘Show’ and is removed from the screen after 5 minutes. ‘Replace Key’ makes a new one and the old one stops working. ‘Disconnect All’ ends the key and every signed-in app.

‘Connected apps’ lists every app with access, who let it in and when it was last used, with ‘Disconnect’ for each one. ‘Test Connection’, under ‘Connection diagnostics’, makes one real call and shows how far it got. In 1.1.8, its busy state and completion tick show that the test ran, and the result is brought into view. Read that result rather than treating the tick alone as a successful connection. It checks https, that the Site Address and WordPress Address agree, permalinks, the tools offered, whether reading and fixing are on, and whether your account can approve AI fixes.

Step 1: Open the Connect Screen

Open ‘BetterShield › Agents › Connect’.

Turn on ‘Allow AI assistant connections’. It is off by default.

BetterShield Connect screen before any assistant has been connected.
Setup view before connection. Enable access and follow the steps for your selected assistant.

Step 2: Connect and Test Your Assistant

Open ‘BetterShield › Agents › Connect’.

Step 2.1. Choose Your Connection Method

Under ‘Add BetterShield to your assistant’, choose your assistant and follow its steps.

  • For Claude or ChatGPT, press ‘Copy the Address’, add it to the assistant and sign in when your browser asks.
  • For an editor or command-line tool, press ‘Set Up an Editor’, choose the tool and press ‘Create Key’. Copy the key at once and paste it into the tool’s configuration.

Step 2.2. Test Your Connection

Press ‘Test Connection’ under ‘Connection diagnostics’. Read the actual result, including any failed checks.

Leave ‘Allow this key to make fixes’ unticked to make a read-only key. Change which fixes are allowed on ‘Permissions’.

Step 2.3. End an Unneeded Connection

Under ‘Connected apps’, choose ‘Disconnect’ for the app you no longer need. Read the confirmation before proceeding. Disconnecting ends its access; it does not undo its completed changes.

Released Connection diagnostics card reports HTTPS, permalink, tool and permission checks.
Released diagnostics component with example access data. HTTPS and pretty permalinks are unavailable in this local example; resolve failed checks before browser sign-in.

Use HTTPS on the public site. Make read-only keys unless the tool needs to make fixes. Replace a key after suspected exposure.

What it can break and how to undo

Replacing a key or disconnecting stops clients using the old key. Reconnect them with a new one. Ending a connection does not reverse fixes it already made.

Limit a connected app

Open the app’s ‘Tools’ selection, choose the tools it needs and select ‘Save Tools’. The app receives that selection on its next tool-list refresh. See Per-app tool limits. Claude and ChatGPT sign in through your browser, so they need no connection key.

Final Outcome

Your app appears under ‘Connected apps’, and ‘Test Connection’ reports its actual access and available tools. Read any failure result before relying on the connection.

Released Connected apps card lists an example read-only assistant and a limited tool selection.
BetterShield 1.1.8 component with an illustrative app and tool selection. This does not demonstrate a live assistant connection.

This is how, with the help of BetterShield’s Connect screen, you can create, test and end assistant connections.

Getting Stuck? Feel free to contact our Dedicated Support Team.

Close the open doors today

Install the free plugin. The first audit runs when you activate it, and all but one of the fixes wait for your choice.

Requires WordPress 6.7 or newer and PHP 8.0 or newer.

Get BetterShield