Getting started
Getting up and running with Sequin takes just a few steps:- Data mapping: Select the API collections and fields you want to work with, like Salesforce Contacts or Linear Issues. Specify how you want these collections and fields to translate into tables and columns in your Postgres database.
- Change detection: Sequin runs a real-time sync process that pulls changes from the API. Any time a record changes in the API, Sequin writes that change to both your database and your event stream.
- Read: With your data in Postgres, you can now read your API data with low-latency, high availability, no rate limits, and all the expressiveness of SQL.
- Consume: With your events in a Sequin-hosted Kafka cluster, you can trigger workflows based on inserts, updates, and deletes in the API. You can query events with a Kafka client, via a simple REST HTTP interface, or receive them via webhooks.
- Write: Sequin intercepts mutations you make to records in your database. Sequin applies those mutations to the API and your database at the same time.
- Rate limits
- API queries
- Pagination
- Background jobs
- Cache invalidation
- Out-of-sync data
- Airtable
- Auth0
- GitHub
- HubSpot
- Linear
- Marketo
- NetSuite
- Quickbooks
- Salesforce
- SendGrid
- ServiceNow
- Shopify
- Stripe
- Workday
Key features
Backfills
After you setup your sync, Sequin will backfill all the collections from the API you’re syncing to your database. This means your database contains a copy of all the data present in the API. Learn more about backfills.Real-time sync
Sequin runs a real-time sync process to pull data out of the API and into your database. By replicating API data to your database, you can now read that data without limits. For most APIs and most collections, changes in the API propagate to your database in less than a minute. Learn more about our sync process.Events
Alongside the sync to Postgres, Sequin writes to an event stream. Sequin captures all inserts, updates, and deletes events in a hosted Kafka cluster. You can consume events in a variety of ways. Learn more about events.Postgres Proxy
You’ll connect to your database via Sequin’s Postgres Proxy. When you make changes to your Sequin-synced tables, Sequin’s Postgres Proxy applies those changes to the API first. If the API accepts those changes, Sequin applies them to your database. This means the API is always the source of truth and your database never has changes that are out-of-sync. As important, Sequin validates your database changes with the API. This means the API is able to apply its rules to your database changes, synchronously. Learn more about writing through the Postgres Proxy.Token management
Don’t worry about OAuth, refresh tokens, and expiries. If your code can query a database, it can query your API data.Rate limit controls
You can apportion Sequin a specific allocation of your API rate limit. Don’t write any rate limiting code or worry about handling 429s.Schema management
Map API collections (e.g. SalesforceContacts
) to database tables (e.g. contacts
). Sync all the columns or just a few.
If you want to add more tables or columns from the API to your database, you can add them with a few clicks. Sequin will migrate the tables for you. Sequin will also backfill any new or changed columns.