BridgeToAgentGet the kit — $49
All install guides
Wix~8 minIntermediate

Install your Agentic Kit on Wix

Wix does not allow direct uploads of arbitrary files to the root of your domain. To serve /agents.json, /llms.txt, and /agent-instructions.md you have two clean options, depending on whether your domain points to Wix directly or sits behind Cloudflare.


Option A (recommended) — Cloudflare in front of Wix

This is the cleanest, fastest setup if you don't mind moving your DNS to Cloudflare. It serves the files at true root paths.

Step 1 — Move DNS to Cloudflare

  1. Sign up at cloudflare.com for a free account.
  2. Add your domain. Cloudflare scans your existing DNS records.
  3. Update your domain registrar's nameservers to the two Cloudflare nameservers shown.
  4. Wait for the DNS update to propagate (usually under an hour).

Step 2 — Create a Cloudflare Worker

  1. In the Cloudflare dashboard, go to Workers & Pages → Create.
  2. Choose Hello World and name it agentic-kit-router.
  3. Replace the worker code with this — paste the literal text contents of your three files into the indicated spots:
const AGENTS_JSON = `PASTE THE FULL CONTENTS OF agents.json HERE`;
const LLMS_TXT = `PASTE THE FULL CONTENTS OF llms.txt HERE`;
const AGENT_INSTRUCTIONS = `PASTE THE FULL CONTENTS OF agent-instructions.md HERE`;

export default {
  async fetch(req) {
    const path = new URL(req.url).pathname;
    if (path === "/agents.json")
      return new Response(AGENTS_JSON, { headers: { "content-type": "application/json" } });
    if (path === "/llms.txt")
      return new Response(LLMS_TXT, { headers: { "content-type": "text/plain" } });
    if (path === "/agent-instructions.md")
      return new Response(AGENT_INSTRUCTIONS, { headers: { "content-type": "text/markdown" } });
    return fetch(req);
  },
};
  1. Click Deploy.
  2. Add Triggers → Routes for these three paths on your domain:
    • your-site.com/agents.json
    • your-site.com/llms.txt
    • your-site.com/agent-instructions.md

Step 3 — Verify

Open each URL in a new tab. You should see the file content.


Option B — Custom subdomain on Wix Files

If you can't move DNS, the next best option is to upload via Wix's media manager and link from your <head>. The downside is that the URLs are not true root paths.

Step 1 — Upload via Media Manager

  1. In your Wix editor, click Media Manager → Upload.
  2. Upload all three files.
  3. Note the public URL for each. Wix gives you a usrfiles URL.

Step 2 — Add discovery links to your site <head>

  1. In the Wix editor, go to Settings → Custom Code.
  2. Click + Add Custom Code, choose Place code in: Head.
  3. Paste this — replace each URL_FROM_WIX_HERE with the URL you copied:
<link rel="alternate" type="application/json" title="Agent Action Map" href="URL_FROM_WIX_HERE_FOR_agents.json">
<link rel="alternate" type="text/plain" title="LLM Context" href="URL_FROM_WIX_HERE_FOR_llms.txt">
<link rel="alternate" type="text/markdown" title="Agent Runbook" href="URL_FROM_WIX_HERE_FOR_agent-instructions.md">
  1. Apply to All pages → Load only on the first page visited.
  2. Click Apply.

This won't give you true /agents.json URLs, but the <link> tags still let well-behaved AI bots discover the files.


Verify

Visit each URL (Option A) or your homepage with View Page Source and search for rel="alternate" to confirm the discovery tags rendered (Option B).


Troubleshooting

Cloudflare Worker shows no preview. Cloudflare Workers must be deployed before the Routes activate. Click Deploy first, then add the route triggers.

Wix Custom Code didn't render. Make sure your site is on a paid Wix plan — Custom Code is gated behind the Premium plans.


Need a hand? Reply to your purchase receipt and we'll help directly.