Zero to LitAction
- Create an account via the Dashboard, note down your API key
- Add funds — click Add Funds in the Dashboard and pay with a credit card (minimum $5.00). Running Lit Actions and metered/write management operations consume credits, while read-only management calls (for example listing resources or checking your balance) are free.
- Add a usage API key - set its permissions by clicking “All Options”
- Run a LitAction
- From the Dashboard
- Programmatically via cURL/JavaScript
- or build your own SDK from the OpenAPI spec
Overview
The Lit Chipotle Dashboard is the front end to the Lit Chipotle API server, designed to quickly and efficiently execute Lit Actions and to manage your user accounts, usage parameters, client wallet creation (PKPs), and IPFS based actions, through a simple set of groups.Specifically it lets you:
- Create accounts and obtain a master account API key.
- Create usage API keys that can be scoped to specific lit-actions or used by dApps.
- Create and manage wallets (PKPs) for signing and on-chain operations.
- Register IPFS CIDs (immutable actions) and scope which wallets have access to them.
- Organize all your resources into groups that combine PKPs, IPFS actions, and usage API keys in any combination.
- Send lit-actions to the node for execution, authorized by a usage or account API key.
Using the Dashboard
The Dashboard is a web management GUI for Lit’s Chipotle offering. Open it from your browser athttps://dashboard.dev.litprotocol.com/dapps/dashboard/
It supports light/dark theme for your convenience and provides simple management tools.
Dashboard workflow (recommended order):
- Request a new account (or log in)
- Add funds via credit card
- Request usage API keys
- Request new PKPs (wallets)
- Register IPFS CIDs (actions)
- Create groups
- Run lit-actions
Using the API directly
The same workflows can be done via the REST API under/core/v1/. All endpoints that require authentication expect the API key in a header (X-Api-Key or Authorization: Bearer).
API workflow:
- New account or verify account (login)
- Add funds via credit card (or via the billing API)
- Add usage API key
- Create wallet (PKP)
- Add group and register IPFS action
- Add PKP to group (optional)
- Run lit-action
Daily Usage
The dashboard is just your human-friendly configuration tool. Once your account and keys are set up to your liking, you can simply call the lit-action endpoint with your usage key each time you, your dApp or cron job needs to execute a lit action. So the only daily use step is- Call the API with your usage key, action-code ( or IPFS CID ) and any parameters that you need
Further Reading
- API Keys — Understanding account keys vs usage keys
- Pricing — Credit-based billing model
- Lit Actions — Writing and deploying Lit Actions
- Architecture — System design and auth model
- OpenAPI Spec / Swagger UI