Skip to content

Add a Product Expert

Lovable

Paste one prompt into Lovable’s chat. Keep the API key in Lovable’s secrets.

Steps

  1. Add your developer key to the project as a secret named CLICKLESS_API_KEY, so it stays out of the page’s code.
  2. Paste the prompt below into Lovable’s chat.
  3. Open the preview link it gives you, then claim the Product Expert at the claim link.

Paste this

Word for word, with your store’s address in place of yourstore.com:

Prompt
Add a Clickless Product Expert to this store (https://yourstore.com).
1. Call POST https://api.getclickless.ai/v1/brand-agents/provision with {"store_url": "https://yourstore.com"} and header "Authorization: Bearer" plus the CLICKLESS_API_KEY secret. Never put the key in client code.
2. Then give me the preview_url and the claim_url. Don't try to claim it yourself: I'll claim it as the store's owner.
3. Add this tag in index.html just before </body>, with data-handle set to product_expert.handle from the response: <script src="https://getclickless.ai/widget.js" data-handle="YOUR-HANDLE" async></script>
The chat button appears once the Product Expert is claimed and live.

The code

Widget
<script src="https://getclickless.ai/widget.js" data-handle="YOUR-HANDLE" async></script>

Then the store’s owner claims it

A provisioned Product Expert is a draft: it isn’t public, sends no messages, connects no channels and earns nothing until the store’s owner claims it.

Claiming takes proof of control of the store: the Clickless Shopify app installed on it, or signing in with an email address at the store’s own domain (not webmail).

More: Add a Product Expert to a store.