This process is the distilled instructions found here, plus information to deploy Doit-Easily.
Terraform modules
There are two Terraform modules in this directory: setup
and app_deploy
. They correspond with installation steps below.
You can apply the modules using either one of the following methods:
-
Adding a
.tfvars
file with appropriately configured variables to directly apply the entire modules. -
Copying the pertinent files to your own terraform modules and apply them there.
We recommend the first approach, using the requested variables.
Note: These steps can be accomplished by applying this Terraform or gcloud. Terraform is preferred way to execute the setup.
-
Create a project to hold your listings and backend integration workloads. The project name should be in the format
ISV-public
. -
Grant Google procurement user access to your listing project (role detail).
-
Create a service account to run your integration workloads.
-
Verify that the user applying the app deploy terraform has
serviceAccountTokenCreator
role on thedoit-easily
SA created in this step
The following steps are completed in your web browser and Producer Portal.
-
Submit your product information using this Google Form.
-
Create a new SaaS listing in the Producer Portal.
-
Start the process of submitting pricing & product information. This can be done in parallel to the technical integration.
-
In the Producer Portal (see screen capture below):
-
Link the service account to call the Procurement API and Cloud Pub/Sub Integration.
-
Copy the Pub/Sub topic string for later users. Use the format
projects/cloudcommerceproc-prod/topics/ISV-public
.
-
-
(Optional) In Slack, create a Slack webhook to store this secret in Secret Manager.
Note: These steps can be accomplished by applying this Terraform.
Please see the README for important instructions about deploying the app and its prerequisites.
- Deploy the application in Cloud Run. When finished, continue below.
-
In the Producer Portal, add the frontend integration URL to the Technical Integration -> Frontend Integration
Sign up URL
.-
(Optional.) Use a custom domain by setting up a load balancer in front of Cloud Run.
-
(Optional.) Add the SSO Login URL for your console, and support SSO. OR link to your website and disable SSO
-
-
To test the integration, see our detailed doc on testing
-
Submit the product details, pricing details, and technical integration for review by Google.
-
Publish your listing.