# Connect LyEve to other systems

URL: https://lyeve.com/docs/integrations/

Start from what you want to happen, then follow the link. Each page says what
the feature is best for, how to try it and what it needs. A feature that needs
a license starts when your license includes it. See
[Licensing and tiers](https://lyeve.com/docs/concepts/licensing-and-tiers/).

## Choose by job

| I want to... | Use | Best for | Free or license |
|---|---|---|---|
| Call my server when content changes | [Webhooks](https://lyeve.com/docs/features/webhooks/) | One or a few HTTP endpoints, such as a build hook or a sync job, with signing and a delivery history | Free up to 25 webhooks per tenant. More, templates, filters and retry policies need `webhook-pro` |
| Stream every change to many services | [Message broker events](https://lyeve.com/docs/features/message-broker-events/) | Search indexers, caches and pipelines reading NATS, Kafka or RabbitMQ at their own pace | License: `messagebroker` |
| Send a missed window of changes again | [Event replay](https://lyeve.com/docs/features/event-replay/) | Catching up a receiver after an outage, or backfilling a new integration | License: `events` |
| Run logic, post to chat or call another API when something happens | [Flows](https://lyeve.com/docs/features/flows/) | Several steps, conditions, custom endpoints and outbound calls without writing a service | Free up to 20 flows. Outbound nodes and more flows need `flow-pro` |
| Read and write content from an app or a script | [Content API](https://lyeve.com/docs/reference/api-endpoints/#read-and-write-content) | Any language that speaks HTTP and JSON | Free |
| Call LyEve from TypeScript or a frontend framework | [Client libraries](https://lyeve.com/docs/sdk/) | Typed calls with retries, paging and errors handled, for React, Vue and Svelte too | Free |
| Call LyEve from a server with no user signed in | [API keys](https://lyeve.com/docs/features/api-keys/) | Scoped, revocable credentials for backends and jobs | Free. [Monthly request limits](https://lyeve.com/docs/features/api-key-request-limits/) per key need `apikey-pro` |
| Fetch exactly the fields a frontend needs, in one request | [GraphQL API](https://lyeve.com/docs/features/graphql-api/) | Pages that combine several content types, typed clients, locked-down persisted queries | License: `graphql` |
| Call LyEve from services on my network over HTTP/2 | [gRPC API](https://lyeve.com/docs/features/grpc-api/) | Generated clients and frequent calls between services | License: `grpc` |
| Update a browser or app live | [Realtime](https://lyeve.com/docs/features/realtime/) | Live previews, dashboards, presence and broadcasts over SSE or WebSocket | License: `realtime` |
| Take payloads from another service in as entries | [Incoming webhooks](https://lyeve.com/docs/features/webhooks/#take-in-webhooks-from-other-services) | Shops and form services that post signed JSON | Creating one needs `webhook-pro` |
| Let people sign in through an identity provider | [Sign-in and provisioning](https://lyeve.com/docs/integrations/oauth-sso/) | Google, GitHub or any OIDC provider, SAML 2.0, and SCIM user provisioning | OAuth free with one provider, more need `oauth-pro`. License: `saml` or `scim` |
| Verify LyEve tokens in my own services | [Validate tokens with JWKS](https://lyeve.com/docs/integrations/validate-tokens-jwks/) | Checking a user's token in another service without sharing a secret | Free |
| Keep files in S3 or another object store | [Object storage](https://lyeve.com/docs/features/object-storage/) | Several replicas, durable files, uploads straight from the browser | Free |
| Send account mail and my own templated email | [Email](https://lyeve.com/docs/features/email/) | An SMTP relay or a pool of providers, branded templates, bounce and click tracking | Free with one SMTP provider and five templates per tenant. A pool, the API transport and more than five templates need `email-pro` |
| Send the audit log to my SIEM | [Audit log streaming](https://lyeve.com/docs/features/audit-log-streaming/) | Splunk, Datadog or an HTTPS collector, in order, with retries and a signature | License: `audit` and `audit-pro` |
| Hear in Slack, Discord, PagerDuty or email when a job, an error rate, the log volume or a probe goes wrong | [Alerts](https://lyeve.com/docs/features/alerts/) | One message per incident, and one when it recovers | Free by email. Slack, Discord, PagerDuty and webhooks need `alerts-pro` |
| Send analytics events to PostHog, Amplitude or my own endpoint | [Analytics](https://lyeve.com/docs/features/analytics/) | Content and product events, with a delivery log, retries and a signed webhook | GA4, Mixpanel, Plausible and Segment free. The rest, and retries, need `analytics-pro` |
| Copy configuration from staging to production | [Promote configuration](https://lyeve.com/docs/features/promote-configuration/) | Content types, flows, access rules, webhooks and settings in one bundle, with a dry run | License: `config-sync` |

## Pushing changes out

Four features react to the same content changes, and they suit different
receivers:

| The receiver is | Use |
|---|---|
| An HTTP endpoint you run | [Webhooks](https://lyeve.com/docs/features/webhooks/) |
| A message broker with several consumers | [Message broker events](https://lyeve.com/docs/features/message-broker-events/) |
| A browser or app with a user in front of it | [Realtime](https://lyeve.com/docs/features/realtime/) |
| Any of the above, for changes that already happened | [Event replay](https://lyeve.com/docs/features/event-replay/) |

When the reaction needs logic, a [flow](https://lyeve.com/docs/features/flows/) starts on the
same events and can call any of them, or an outside API, as one of its steps.

## Reading and writing content

The [Content API](https://lyeve.com/docs/reference/api-endpoints/#read-and-write-content) on port
`3002` reads and writes entries, and the Admin API on port `3001` manages
content types, users and settings. [The two APIs](https://lyeve.com/docs/concepts/) explains
which is which. GraphQL and gRPC serve the same content over other protocols,
and each content type decides which of them may reach it. See
[Transports](https://lyeve.com/docs/reference/api-endpoints/#serve-a-content-type-over-some-transports-only).

Every surface keeps tenants apart: a request reaches only its own tenant's
content, and outbound events carry the tenant they came from. See
[Tenants](https://lyeve.com/docs/features/tenants/).
