Getting Started with Developer Portal - Agent
Developer Portal tutorialLocal with an AI agent
Create a developer portal for a sample API, then sign in and test a request with an assigned API key.
Follow along using
Have a coding agent build a developer portal with an introduction, interactive API reference, and API key management. You'll assign a test key and verify the portal yourself.
Prerequisites
- Node.js 24 or later and Git.
- A Zuplo account.
- An installed coding agent and an email address for the portal sign-in test.
Build your developer portal with an agent
-
Create the project
Run:
CodeWhen prompted, choose Yes to create a matching Portal project, complete sign-in, and select your Zuplo account. Select the coding agent you use when asked. The CLI creates and links the hosted project. See
create-zuplo-api.Zuplo skills
The scaffold installs Zuplo skills in this project for Codex and Cursor and configures the Claude Code plugin. If setup fails, follow Agent Skills from this directory before starting your agent.
-
Ask the agent to build the portal
Open your agent in the project directory and give it this prompt:
Code -
Review and open the result
Review
git diff. Confirm the reference still points to../config/routes.oas.json, API keys remain enabled, and authentication is attached toGET /todos.With
npm run devrunning, open the Docs Server URL printed in the terminal, normallyhttp://localhost:9200. Open/introductionto check your new page, then open API Reference to check the Todo API. -
Assign a test key
In the Zuplo Portal, open your project and go to Services → API Keys → Consumers. Select Dev and click Create Consumer. Enter
tutorial-consumerfor Subject, your email under Key managers, and{}for Metadata. Click Save consumer.
-
Verify the signed-in experience
Sign in to the local developer portal with the key manager email. Open API Keys from your profile menu and confirm the key appears. Then open API Reference → Get all todos, click Test, expand Authentication, select
tutorial-consumer, and click Send. Expect200 OKand todos in the response.Test without credentials in a terminal:
CodeExpect
401 Unauthorized. If browser requests fail while cURL succeeds, check the route's CORS configuration. If the key is missing, check the consumer's email and Dev bucket. -
Publish after review
Follow Deploy to the edge, then open Deployment URLs → Dev Portal in the Zuplo Portal. Create a consumer in the Prod bucket to test the deployed portal.
Replace the demo authentication with your own identity provider and restrict CORS to your portal's origin before inviting users.
Next steps
- Editor tutorial for the exact policy configuration and manual walkthrough.
- Create consumers on login to automate key assignment with your own identity provider.
- Customize navigation and add pages for your API's users.