Install with AI
Add a store to your site with an AI assistant
Your dashboard writes a setup brief for your own store: your key and your website filled in, the code to add, and the mistakes that look like bugs. Paste it into the AI assistant you already use, give it your site’s files, and look over what it changes. There is no code for you to write.
How it goes
Create your store and add a product
Tick Publish this product on my site automatically, so your products and prices come from your dashboard and the assistant never types one into your pages.
Copy your brief
In your dashboard, under Developer Docs, choose Copy AI setup brief. Your public key and your website are already in it.
Paste it into your assistant
In a chat, or in your code editor with your site’s files open, and ask it to add the store to your site. It asks where your files are before it changes anything.
Try it before it goes live
Add your staging site, a preview deploy or localhost as a test address in your dashboard, and check the cart there. Then publish the way you always do.
What the brief tells the assistant
- Where the code goes. Once, in your shared layout, just above
</body>, not copied onto every page. - How to show your products. An empty container where they belong, and one product page for the whole catalog.
- How to make it look like your site. Your own class names are put on our elements, and your stylesheet is reused rather than new CSS written.
- The rules that look like bugs when broken. The exact id the code needs, the class on the buy button, and never writing a price into the HTML.
- Where it will work. Your website and your test addresses, so an empty container anywhere else is read as the check working, not something to fix.
- To ask, not guess. When something in the brief does not match your files, the assistant is told to ask you.
Safe to hand over
- No secrets in it. It carries your public key, which is meant to be seen on your website. There is no password and no secret key in it.
- Prices are not the assistant’s to set. Products and prices come from your dashboard, and checkout checks every price on our servers, so a mistake in your HTML cannot change what a customer pays.
- You see the change first. The assistant edits your files, and nothing is live until you publish it. A test address lets you try it before then.
A look at the brief
The start of one, for a sample store. Yours has your own details in it, and goes on to products, styling and what to check once it is live.
I run an online shop called "Sample Roasters" at https://sampleroasters.example.
It uses SuiteStatic, which adds products to a plain HTML website without a
database or a rebuild. I want you to add it to my site. Everything you need
is below. Please do not guess at any of it, and ask me for my files or for
anything here that does not match my site.
## The one-time snippet
Goes once per site, immediately before </body>. If the site has a shared
layout or template, it belongs there rather than on every page.
<div hidden id="commerce-config"
data-public-key="pk_live_..."
data-api-url="https://api.suitestatic.com">
</div>
<script src="https://suitestatic.com/widget.js"></script>
Common questions
Which assistants work?
Any that can read your site’s files, or that you can paste them into. In a chat it tells you what to change; in a code editor it can make the changes itself.
Do I need to know how to code?
No. Look over what it changed before you publish, as you would with any change to your site.
What if my site is on a website builder?
If the builder lets you add your own HTML to a page, it works the same way. If it does not, wholesale ordering needs nothing on your site at all.
What does it cost?
Nothing extra. Every store’s dashboard has its brief, on every plan.
Hand it to your assistant
Create your store, add a product, and copy your brief from the dashboard. The Free plan has no monthly charge: 2% of each sale, and nothing if you sell nothing.
Create your store