Skip to content

How-To Guides

Each recipe starts from one goal and walks you to a working result, following one reasonable path rather than every option. They assume LyEve is running. If it is not, start with Installation and the Quickstart. To learn what a feature does, read its page in Features. To look up a route or a setting, use the reference.

Each recipe stands on its own. Do them in any order.

RecipeWhat you end up withNeeds
Send webhooks on eventsAn endpoint of yours called when content changes, with the signature checked and failed deliveries recoveredFree. Retry policies and resending need webhook-pro, and replaying a window needs events
Automate the Admin API with admin tokensA credential for a CI job or script: chosen grants, one tenant, an expiry of at most 90 days, rotation and a request logFree
Back up and restore tenantsOne tenant exported, validated and restored, backup jobs writing encrypted archives to S3, and a tenant clonedtenant-backup
Build a custom API with flowsOne GET endpoint joining three content types, tested, cached, rate limited, published and moved to another tenantFree. Custom paths and outbound nodes need flow-pro
Build a flow with the assistantA flow you described in plain words, drafted, checked, accepted onto the canvas and refinedai
Start from a flow templateOne of the eighteen starter flows created as a draft, supplied with what it needs, and publishedFree. Templates that call outside need flow-pro
Migrate existing contentContent from WordPress, Strapi, Contentful, a file or another LyEve instance in your content types, or the whole database on another serverFree. Moving the whole database needs migration-toolkit
Keep the content model and flows in gitThe model and the flows as files in your repository, a CI check that stops a change that drops data, and promotion to productionFree
Harden your instanceThe secrets, signing, cookies, CORS, proxy, rate limit, API key and password settings a public instance needsFree. The firewall and trusted devices need waf and device-fingerprint, and passkey enrollment needs mfa-pro
  • Ports. Commands use the default ports: 3001 for the Admin API under /api/admin/ and 3002 for the Content API under /api/v1/. Core concepts explains the two.
  • Tokens. Commands read a token from a shell variable such as $TOKEN. The quickstart shows how to get one, and an admin token suits a script.
  • Placeholders. Values in angle brackets, such as <tenant-slug>, stand for your own. Replace them before you run a command.
  • Databases. Every recipe works on PostgreSQL, MySQL 8+ and SQL Server or Azure SQL.

To check that an instance answers on both ports before you start:

Terminal window
# Content API: the public key set, no credential needed
curl -s http://localhost:3002/.well-known/jwks.json
# Admin API: the content types, with a token
curl -s -H "Authorization: Bearer $TOKEN" http://localhost:3001/api/admin/schemas
  • Features: what each feature does and whether it is free.
  • Developer guide: the path for code that calls LyEve.
  • Deployment: Docker, Docker Compose, Kubernetes and the hosted platforms.