Syncs data between the Denari Online API (DRAPI) and HubSpot
gcloud builds submit
#### Enable Pub/Sub to create authentication tokens in your project
gcloud projects add-iam-policy-binding PROJECT_ID `
--member=serviceAccount:service-PROJECT-NUMBER@gcp-sa-pubsub.iam.gserviceaccount.com `
--role=roles/iam.serviceAccountTokenCreator
#### Create a service account to represent the Pub/Sub subscription identity
gcloud iam service-accounts create cloud-run-pubsub-invoker `
--display-name "Cloud Run Pub/Sub Invoker"
Permissions setup (required any time the ccw-integration-subscriber service is deleted)
#### Give the invoker service permission to invoke the ccw-integration-subscriber service
gcloud run services add-iam-policy-binding ccw-integration-subscriber `
--member=serviceAccount:cloud-run-pubsub-invoker@PROJECT_ID.iam.gserviceaccount.com `
--role=roles/run.invoker
Navigate to the Credentials page (under APIs & Services) and create a new OAuth client ID. Select the Web application
type.
Add these credentials to Secret Manager.