> ## Documentation Index
> Fetch the complete documentation index at: https://radarlabs-rob-onesignal-api-migration.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Census

<Info>
  The Census integration is available on the [**Enterprise plan**](https://radar.com/pricing).
</Info>

With [Census](http://www.getcensus.com), Radar can sync locations stored in a data warehouse as geofences in Radar, powered by the [geofence upsert API](/api#upsert-a-geofence).

Census supports syncing data from all major data warehouses, including Amazon Athena and Redshift, Snowflake, Azure Synapse, and Google BigQuery.

## Configuration

First, in [Census](http://www.getcensus.com), add Radar as a service. Copy and paste your secret key from the Radar [dashboard](https://dashboard.radar.com). When naming the service, include a reference for the environment, `test` or `live`, that corresponds to the API key being used.

<img src="https://mintcdn.com/radarlabs-rob-onesignal-api-migration/wGputsiITGa7jHm1/images/integrations/census/create-geofence-services.png?fit=max&auto=format&n=wGputsiITGa7jHm1&q=85&s=1df230de07dac713a7b5d1eed2606df0" alt="Create geofence services" width="1999" height="1255" data-path="images/integrations/census/create-geofence-services.png" />

Second, create a data model and connect your data warehouse as a source.

<img src="https://mintcdn.com/radarlabs-rob-onesignal-api-migration/wGputsiITGa7jHm1/images/integrations/census/create-data-model.png?fit=max&auto=format&n=wGputsiITGa7jHm1&q=85&s=85579d99c092f92a8d09ca66edf72781" alt="Create Data Model Pn" width="1999" height="1248" data-path="images/integrations/census/create-data-model.png" />

Third, create a sync and map properties from the data model to [Radar geofence attributes](/geofencing/geofences#create-geofences) like `description`, `tag`, `externalId`, `type`, and `radius`.

<img src="https://mintcdn.com/radarlabs-rob-onesignal-api-migration/i8UFp_2vvLJvgYzo/images/integrations/census/map-properties.png?fit=max&auto=format&n=i8UFp_2vvLJvgYzo&q=85&s=e4375bd97aad63f26076458164f672e8" alt="Map properties from the data model" width="1999" height="1882" data-path="images/integrations/census/map-properties.png" />

Finally, schedule your sync.

<img src="https://mintcdn.com/radarlabs-rob-onesignal-api-migration/i8UFp_2vvLJvgYzo/images/integrations/census/schedule-sync.png?fit=max&auto=format&n=i8UFp_2vvLJvgYzo&q=85&s=cca540379d67c309672a37a7a7e90c99" alt="Schedule a sync" width="1999" height="1885" data-path="images/integrations/census/schedule-sync.png" />

For more information, visit the [Census docs](https://www.getcensus.com/integrations/radar).
