Set up · technical

Set up your PowaHub widget.

Put a small card on your own website that tells visitors your data can be bought by their AI agent. One click takes them to your listings on PowaAgent.

Embed the widget#

The widget is a small card for your own website. It says your data is available to AI agents, names the assistants it works with, and has one button: Buy via PowaAgent. It does not show a price, a tier or anything else that could go out of date. Visitors see those one click later, in the catalog.

Get your code#

Your code is made for you in the portal, with your seller ID already filled in. There is nothing to look up or put together by hand.

  1. Sign in at portal.powahub.ai.
  2. Under Account, open Embed widget.
  3. Press Copy code.
  4. Paste it into your website's HTML where you want the card to appear.

The same code works on every page you put it on, and for every endpoint you list. You need one code, not one per API.

What's in the code#

Attribute What it does Values
data-seller Your seller ID. Tells the card whose listings to show. Filled in for you. Your ID — don't change it
data-variant The card's shape. card
data-theme Light or dark card. auto follows your visitor's light or dark setting. Choose dark if your page is always dark. auto (default), light, dark

The <div id="powahub-widget"> line marks where the card goes. If you leave it out, the card appears where you pasted the script.

What the card does on your site#

  • It loads one small file from powahub.ai and nothing else. It makes no other requests.
  • It sets no cookies and stores nothing. There is nothing for your cookie banner to cover.
  • It can't break your page. If something goes wrong, there is simply no card.
  • It keeps your styles and ours apart. Your stylesheet can't change the card, and the card can't change your page.
  • It updates itself. When we improve the card, your site gets the new version within minutes. You never need to paste new code for a routine change.

If your site has a content security policy#

Allow script-src https://powahub.ai. That is all. The card loads no images, fonts or other files.

A click on the card opens the PowaAgent data catalog in a new tab, showing only your listings. Your page stays open behind it.

The visitor doesn't need an account to see your listings. They see each listing's name, description, tier and price per call.

The purchase happens in the visitor's own AI, not on a web page. The catalog shows them how: connect PowaAgent to the AI they already use (Claude, ChatGPT or Grok, among others), then ask it for your listing by name. Their AI pays per call from their PowaAgent wallet, within the spending limits they set. Getting started with PowaAgent is free.

If you stop listing an endpoint, the card keeps working. Visitors who click it see the whole catalog with a short note explaining why.

What the agent sees#

When a buyer's AI looks at your listing, it reads:

  • The name. Your listing's short name is what the AI calls it.
  • The description. This is how the AI decides whether your data fits the task it has been given.
  • The inputs. Any values your endpoint needs.
  • The tier. Standard or Premium.
  • The price per call. Before paying, the AI is told the exact amount.

When it pays, it receives your endpoint's response along with a receipt.

The AI chooses between sources using your name and description. Write the description for an AI that has never heard of you: say what the data is, what it covers, and how fresh it is. You can change it at any time — see Managing listings.

Getting paid#

The widget doesn't change how you earn. Every call a visitor's AI buys is paid to you the same way as any other call.

Cookie preferences

NecessaryRequired to run the site and keep it secure. Always on.
AnalyticsGoogle Analytics — helps us understand and improve the site.
MarketingAd-measurement tags (e.g. Meta, LinkedIn). Off until launched.