Start with your AI agent
Copy a prompt into Claude Code, Cursor, Codex, VS Code or any coding agent. It installs Widgetic for you and checks that it works, so you do not install or configure anything by hand. Choose how your agent reaches Widgetic:- MCP server
- Command line
The agent connects to the Widgetic MCP server. You sign in to Widgetic in the browser, so there is no API key to copy. Best for building widgets in a conversation.To do the same by hand, see Connect your assistant.
Installs Widgetic in your assistant by adding the Widgetic MCP server to your client, waits while you sign in in the browser (no API key), then checks the connection with get_profile.
Saves four sample portraits in your media library, builds a gallery of four people from them as a draft, shows the preview, then publishes it and returns the embed code once you approve. Uses 1 credit.
https://) and change the words to the widget you need. Building a widget uses 1 credit, and the agent publishes only after you say so.
Prefer to call the REST API yourself? Continue below.
Prerequisites
Before you begin, make sure you have:- A Widgetic account (sign up here)
- A workspace on a paid plan, because an API key works only while its workspace has one (see Keys and your workspace plan)
- A basic understanding of REST APIs
Step 1: Get Your API Key
- Log in to your Widgetic dashboard
- Open Settings > API Keys in the workspace you want the key for (the link opens the one you used last, or your first)
- Select Create key, name the key, and choose what it may do. Full access is the simplest way to start. Content, Read only and Custom limit a key to what its application needs: see Choose how much a key may do
- Copy your API key (it starts with
wdg_org_: it is the key of the workspace you made it in, and works in that workspace only)
Step 2: Check Your Key
Ask the API what the key is. The answer says the key is valid and which workspace it works in:401 means the key is wrong or was deleted. See Errors for what else the API can say.
Step 3: List Your Widgets
Install the library for your language, then list the widgets your workspace owns, one page of 20. A new workspace has none yet, so the list can be empty.WIDGETIC_API_KEY first, as Get started shows. Without a library, the same call is:
Step 4: Explore the API
Now that you’re authenticated, here are some common next steps:Widgets
Create and manage the widgets in your account
Create a Canvas
Start designing a new widget
Get Compositions
View your widget compositions
Check Entitlements
See access levels and entitlement endpoints
Next Steps
1
Learn Authentication
Understand the different authentication methods available.
2
Go Further with an SDK
Page through lists, create things once and handle errors with the SDKs.
3
Choose Your Path
- Partners: Start with Partner Overview
- Self-Serve: Start with API Overview
4
Explore Examples
Check out our code examples for common use cases.