Inline checking with a site key
Let your readers check a claim on your own website, without leaving the page.
Select some text on one of your pages and a small Check with News Intelligence button appears. The reader presses it and sees the verdict, the evidence and the sources in a panel on your page. Nothing needs to be installed on their device.
What you need
- A workspace that is switched on. A new workspace is reviewed and switched on by our team, and a funded workspace switches on by itself.
- A site key. It is created in your workspace under Website key.
- The address of your website, such as
yournewsroom.com.
Set it up
- Create the keyOpen your workspace, choose Website key, type your website address and press Create key. Only the owner and admins can do this. You can add up to ten addresses to one key.
- Paste the line in your footerCopy the line from your workspace (it contains your key, which starts with
pk_) and paste it just before the closing body tag of your template. This works on WordPress and on any other website. No plugin is needed. Use the readers line only if you want your public readers to see the button. - Writers button inside WordPress adminOn the same card, press Copy WordPress snippet and paste it once into the Code Snippets plugin or your theme functions.php. Your writers then see the button while they write. Readers never see it.
- Optional: the pluginIf you prefer, the News Intelligence plugin does the same thing from Settings, News Intelligence.
<script src="https://chatniai.com/widget.js" data-key="pk_YOUR_KEY" defer></script>
Is it safe to put the key in my page?
Yes. A site key is not a secret like an API key. It works only on the website addresses you listed, and you can revoke it at any time. Never put your API key (pij_live_...) in a web page.
Cost and limits
Each reader check uses one check from your workspace allowance, the same as a check you run yourself. If the allowance runs out, readers see a polite message and nothing is charged beyond your plan.
What readers see, and what we keep
The text a reader chooses to check is sent to News Intelligence so it can be checked. We do not set tracking cookies through the widget. Please tell your readers about it in your own privacy notice. Our privacy policy explains how we handle the text.
If it does not work
- "This site key is not valid": the key was mistyped or has been revoked. Copy it again from the Website key page.
- "Not allowed on this website": the address is not on the key. Add it to the key's address list in your workspace (Website key, then Save).
- "Part of the newsroom plan": the workspace is on the free plan.
- Allowance message: the workspace has used its checks. See Allowance and limits.
Which way fits my website?
Every customer gets the same protected writing desk. The writers script stays invisible until a current member connects the workspace that owns its website key. Pasting it on a public page does not give readers a claim button.
| Your website | For readers | For your writers |
|---|---|---|
| WordPress | Use our plugin or the reader script | Open the plugin’s Newsroom desk and press Connect News Intelligence, or copy the WordPress snippet from Website keys |
| Ghost, Drupal, Laravel, Django, Node or a custom CMS | Use the shared public template if reader checking is enabled | Paste the writers snippet from Website keys into a template or extension that your CMS permits in its staff editor |
| A CMS that blocks custom scripts in its editor | Use its supported public code-injection option | Use the workspace Check tool, or the browser bookmark on a listed HTTPS website where scripts are permitted |
Connect once you are writing
- The owner adds each writer to the workspace team and lists the website on its website key.
- Copy the writers snippet from Website keys. It includes a Connect News Intelligence control. Place that control inside your staff editor, not in your public navigation.
- Press Connect. In the workspace window, sign in if needed and confirm the displayed website. Your main sign-in stays on the platform.
- The claim checker appears after membership is confirmed. Access lasts up to five minutes; reconnect when it expires. Reloading or closing the page clears the connection.
If only the script is installed, staff can press Alt + Shift + N to connect. Phones need the Connect control. No claim controls appear for signed-out people, non-members or another workspace’s members. Revoking the key, removing a member, ending the session or pausing the workspace stops new checks and result access.
No universal script can bypass a CMS that prohibits script injection or whose security policy blocks our domains. Allow chatniai.com for the widget and its requests and platform.chatniai.com for the connection window, or use the workspace Check tool. There is no PIJAlance-only authentication exemption.