This page walks through how to connect Census with your Google AlloyDB database.
This guide shows you how to use Census to connect your AlloyDB database to your data warehouse and create your first sync.
In order for a third party application (like Census) to query your AlloyDB, Google Cloud requires that you set up an Auth proxy as detailed in their documentation. If you have any questions at all setting up this Auth proxy, please reach out to [email protected].
- Have your database credentials ready.
- Have the proper credentials to access to your data source. See our docs for each supported data source for further information:
- Click the Add Service button
- Select AlloyDB in the list
You'll be prompted to put the following credentials into the Census page:
- Database Name
After clicking connect, Census will test the connection that was specified.
A Green , means you are good to go
After the connection is verified, you all tables will be exposed, but please take a look below on some of the specifics.
We support syncing data to Tables in AlloyDB, but they must have a uniqueness constraint on a column.
Primary Keys or Columns with Uniqueness Constraints
Update or Create
You may be trying to sync to a table that does not have a uniqueness constraint. If possible, you need to add one to be able to sync to it. The syntax to do so is here.