Using CMS AI Agent with Wix

Everything you need for Wix, in the order you will actually do it. If you are stuck, the last section has the real error messages and what each one means.

Switch these on first

  • To be the owner or a co-owner of the Wix account. Wix only lets those two create an API key, so if somebody else built your site you will need them to do this part or to make you a co-owner first.
  • Wix Blog added to your site. Everything Wix AI Agent writes is a blog post. A Wix site without the blog app connects perfectly and then has nothing to write to — add it from your dashboard under Apps first.
  • At least one blog writer. Wix refuses to store a post that has no author, and it will not pick one for us. In your dashboard go to Blog → Writers and make sure you are listed.
  • Five minutes and the knowledge that a Wix key's permissions are fixed once it is made. There is no screen to add one later. This is the single commonest way a Wix connection half-works, so read the list of boxes in step three before you click create.

Connecting your website

  1. In Wix, open your site's dashboard and look at the address bar. The site ID is the long code straight after /dashboard/ — it looks like 12345678-1234-1234-1234-123456789abc. Copy it.
  2. In CMS AI Agent, add your website by its address — the same one you type into a browser — and paste the site ID into the box beside the key. Wix keeps its API at its own address rather than on your site, so there is nothing to switch on at your end.
  3. Back in Wix, open your account settings → API Keys. This is an account screen, not a site screen, so it is in the same place however many sites you have.
  4. Create a key and tick Manage Blog, Read Members, Manage Data, Manage Media and Manage SEO. Leave out Manage SEO and redirects stop working; leave out Read Members and nothing can be written at all. Nothing on that screen gives us your login, your billing or your visitors' details.
  5. Copy the key straight into CMS AI Agent. Wix shows it once. If you lose it, the key is not recoverable — delete it in Wix and make another.
  6. Press connect. We read your site's name back from Wix so you can see which site you just connected, then try each service in turn and tell you what the key reaches. A box you missed shows up here as something marked unavailable, and the fix is a new key.
1Make an API keyAccount SettingsAPI Keys2Four permissionsWix BlogManage Site MediaSEORead Site URLs3Open the blog onceBlogGet startedUntil you do, the API says 401
What those screens look like. Drawn rather than photographed, so they stay true when your CMS is redesigned.

What you can ask for on Wix

  • Read content

    Looking at what is already on the website: the list of pages and posts, who wrote each one, when it last changed, whether it is published, and the full text of any one of them.

    "Which pages have not been touched in over a year?"

  • Create content

    Adding something that was not there before: a new page, a new post, a new entry of whatever kind your website uses. It arrives as a draft, with a title, the body text and a short summary, ready for you to read before anyone else can.

    "Add a page about our new opening hours and leave it as a draft."

  • Edit content

    Changing something that is already there: the title, the body text, the summary. You are told exactly which items were touched, and your website keeps its own history of what they said before.

    "Change the phone number on the Contact page to the new one."

  • Publish content

    Moving something between draft, published and private. This is the step that decides whether the public can see a page, which is why it is a thing you ask for on purpose rather than something that happens on the way past.

    "Publish the draft about the Saturday market."

  • Schedule content

    Setting a date and a time in the future for something to appear, so a post written on a Tuesday afternoon goes live on Monday morning with nobody at a keyboard.

    "Set the Christmas opening hours post to go live on the first of December."

  • Manage images and files

    Putting images and files onto the website and filling in the text that belongs with them: the title, the caption, and the alt text that a screen reader speaks and a search engine reads in place of the picture.

    "Put last week's photos into the gallery and write alt text for each one."

  • Manage categories and tags

    Organising content so people can find it: which category a post sits in, which tags it carries, and creating a new category or tag where there is a real need for one.

    "Put all the recipe posts into the Recipes category."

  • Edit SEO information

    The text that does not appear on the page but decides how the page looks in a search result and when somebody shares it: the SEO title, the description under it, and the alt text on images.

    "Which pages have no SEO description? Write one for each of them."

  • Custom content types

    Few websites hold only pages and posts. A property site has properties, a restaurant has dishes, a school has courses. This is working with those, in their own fields, instead of forcing everything to be a blog post.

    "Add a new dish to the menu: the name, the description and the price."

  • Site information

    The plain facts about the website: what it is called, what software and which version it runs, how many pages and posts it holds, which languages it is written in, and when it last changed.

    "How many pages does my website have, and when was each one last updated?"

  • Manage redirects

    Sending an old address to a new one, so a link somebody saved or a result still sitting in Google lands on the right page instead of an error. It can also list everything that is already being sent somewhere else.

    "The old /prices page is gone — send it to /pricing."

  • Administrative information

    What is installed, what has an update waiting, and who has an account on the website. Reads only: it cannot install, update, activate or remove a plugin or theme, change a setting, or add or change a user.

    "Is anything on my website waiting for an update?"

What it will not do on Wix

Wix has no way to do this, so this agent does not offer it. What it would have meant:

  • Manage menus

    The menus a visitor clicks: adding an item, renaming one, putting them in a different order, moving one underneath another.

  • Bulk changes

    The same change across many items at once. Nothing happens straight away: you are shown the whole list first, with the value as it is now beside the value proposed for it, and it runs only after you have said yes. It can be stopped partway and it can be undone.

Worth knowing about Wix

  • A Wix post is two things: a draft and a published post. Everything we write goes into the draft. Publishing copies the draft over the public page — so when you ask us to change something already published, the public page does not move until it is published again. We say so in the answer every time.
  • Your pages and your menus are not reachable, and they never will be. A Wix page is a canvas you drew in the editor; Wix publishes no API for what is on it, and none at all for your navigation. That is Wix's design, not a gap we have yet to fill, and we would not touch your design even if it opened up.
  • Alt text on an image in your library cannot be written. Wix keeps a picture's description where the picture is *used*, not on the file, because the same photo can mean two things on two pages. We can set the alt text on a blog post's cover image, and we can tell you which of your images have none — fixing the rest is done in the Wix editor.
  • Your CMS collections are read, not written. We can list them, read their fields and tell you what is in them. We will not add to one: a collection's fields are the ones you invented, so we would be guessing which is a title, and a collection item has no draft state — anything written would be live at once.
  • Wix will not tell us your plan or who can get into your site. Both are real questions and neither has an honest answer through a site key, so we say so rather than guess. You can see them in your own dashboard under Settings.

When something goes wrong

The failures people actually meet, with the exact words CMS AI Agent will show you. The message is in English wherever you are, because that is what the software says.

The connection is refused the moment you press the button, before Wix is contacted at all.

What you will see

That does not look like a Wix site ID. Open your site's dashboard in Wix and look at the address bar: the ID is the long code straight after /dashboard/.

What to do

What is in the site ID box is not a Wix site ID. Open your site's dashboard in Wix — not the editor, the dashboard — and look at the address bar: the ID is the long code straight after /dashboard/, five groups of letters and numbers joined by dashes. Two things commonly go in that box by mistake: your account ID, which is a different code from the API Keys screen, and your site's web address. Paste the whole dashboard address if you prefer and we will find the ID in it.

Wix answers and turns the key away.

What you will see

Wix did not accept that key for this site. Three things to check, in this order: that the key was copied in full; that it was made in the Wix account that owns this site, because a key from another account cannot reach it; and that the site ID is this site's and not another one in your account.

What to do

Work through the three in order. Was the key copied whole? They are long and a half-copied key looks plausible. Was it made in the account that owns this site? This is the usual answer when somebody manages sites for other people — a key only reaches sites in its own account, and there is no way to share one across accounts. Is the site ID this site's? If you have several sites, it is easy to connect one and paste another's ID.

Connecting works, reading works, and one particular thing is always refused — or something shows as unavailable the moment you connect.

What you will see

Wix accepted the key but will not let it do this. The key was made without the "

What to do

A box was not ticked when the key was made, and the message names which one. A Wix key's permissions cannot be changed afterwards — there is no screen for it. So: in Wix, delete that key, create a new one with the missing permission added to the others, and reconnect the site here. It takes two minutes and it is the only way. If writing fails while reading works, the missing one is almost always Manage Blog: a read-only blog key fetches a post happily and changes nothing.

Everything reads correctly and writing a draft is refused on a site that has only ever been run by you.

What you will see

Wix requires every blog post to have an author, and this site has no members for one to be.

What to do

Wix will not store a blog post without an author and will not choose one, so we have to name a member of your site — and this site has none to name. In your Wix dashboard go to Blog → Writers and add yourself. If you are sure you are already a writer, the other cause is the Read Members permission missing from the key, and that needs a new key.

Wix accepts the key and then says a whole area is not there.

What you will see

This Wix site does not have the app that would answer that.

What to do

The app that would answer is not on the site. For blog posts that is Wix Blog; for collections it is the CMS. Add it from your dashboard under Apps, give Wix a moment, and try again. A brand new Wix site often has neither, which is why this is worth checking before you decide something is broken.

You ask for alt text on an image and are told it cannot be written.

What you will see

Wix does not keep alt text on a media file, so there is nothing here to write it to

What to do

This one is not fixable and is not a fault. Wix lets a media file carry a name, a folder and labels, and nothing else — a picture's description belongs to the place it is used, because the same photo can mean different things on two pages. What we can do instead: set the alt text on a blog post's cover image, and give you the list of images in your library that have none, so you know which to describe in the editor.

More about Wix AI Agent