On first publish, the agent will ask for your email to get an API key. This makes your sites permanent. Without it, sites expire in 24 hours.
Copy
Ask AI
Agent: "You need a Supalink API key for permanent publishing. What's your email?"You: "me@example.com"Agent: "Check your email for a verification code (XXXX-XXXX)."You: "ABCD-1234"Agent: "Authenticated! Now publishing... https://bright-canvas-a7k2.supalink.dev/"
Set the key in your shell profile so your agent never asks again:
Build your own integration with the REST API. See the API Reference for full details.
Copy
Ask AI
# Create a sitecurl -X POST https://supalink.dev/api/v1/publish \ -H "Authorization: Bearer sl_live_your_key" \ -H "Content-Type: application/json" \ -d '{"files": [{"path": "index.html", "size": 1024, "contentType": "text/html"}]}'# Upload files to the returned presigned URLs# Then finalize to go live
Your agent can also discover the API automatically via: