This page describes how to use Census with Orbit.
This guide shows you how to use Census to connect your Orbit account to your data warehouse and create your first sync.
Before you begin, you'll need the following:
- Orbit account
- 2.Click Add Service.
- 3.Select Orbit from the dropdown list.
- 4.Orbit uses API tokens to authorize access to the API, so you will need to provide an API Key and Workspace Slug to Census.
- 2.The workspace slug can be fetched from the URL. In the url provided below, census is the workspace slug. https://app.orbit.love/census. Copy the workspace slug and paste it into the Workspace Slug field in the Orbit setup in Census.
The steps for connecting your data warehouse will depend on your technology. See the following guides:
When defining models, you'll write SQL queries to select the data you want to see in Orbit. This can be as simple as selecting everything in a specific database table or as complex as creating new calculated values.
- 2.Enter a name for your model. You'll use this to select the model later.
- 3.Enter your SQL query. If you want to test the query, use the Preview button.
- 4.Click Save Model.
Basic SQL query for a new model
The sync will move data from your warehouse to Orbit. In this step, you'll define how that will work.
- 2.Under What data do you want to sync?, choose your data warehouse as the Connection and your model as the Source.
- 6.Under Which properties should be updated?, select the fields you want to update by mapping a field in Orbit to a column in your model.
- 7.Click Next. This will open the Confirm Details page where you can see a recap of your setup.
- 8.If you want to start a sync immediately, set the Run a sync now? checkbox.
- 9.Click Create Sync.
When configuring your sync, the page should look something like this: 👇
Sync setup for Orbit
Once your sync is complete, it's time to check your data. Open Orbit and check that the records updated correctly.
If everything went well, that's it! You've started syncing data from your warehouse to Orbit! 🎉
In most cases, you won't run into any issue with sync speed based on rate limiting unless:
- You're running an initial sync action that will update many records in Orbit.
- You have another integration or service that's making API calls to Orbit and using the same API Token.