Presslabs Dashboard Prerequisites

Before installing the Presslabs Dashboard from Google Cloud’s Marketplace, there are some prerequisites that need to be met.

Step 1: Make sure you have a Google account, an active plan and a project

The Presslabs Dashboard is only available on Google Cloud Platform’s Marketplace for now, so you need to have a Google account and an active plan to be able to use it. For testing purposes, you can also use their 12-month free trial with $300 credit, on their Google Cloud Platform Free Tier page you can see more information.

You also need to have a project created, you can create a project from here.

Create a project

Step 2: Create a cluster

Go to the Google Cloud Console and then go to Kubernetes Engine -> Clusters -> Create Cluster.

You can create a standard cluster with the default settings, or any settings suited to your needs, but make sure you have the following:

1. You must choose a machine type at least n1-standard-4:

Choose Machine Type

2. Make sure you have checked Enable Workload Identity

Click on Availability, networking, security, and additional features and look for the check Security -> Enable Workload Identity, then check it:

Enable Workload Identity

Step 3: Install the Google Config Connector

See Install the config Connector.

Step 4: Choose a domain for the Dashboard domain

You need a domain or subdomain that the Presslabs Dashboard can use. For example, if you already have the domain myagency.com for your agency, you can choose to set up the Presslabs Dashboard on a subdomain such as dash.myagency.com.

Step 5 (Optional): Reserve an IP on Google Cloud IP

  1. Go to the Google Cloud Console
  2. Select VPC Network -> External IP addresses -> Reserve Static Address

    Select IPv4 and Regional, with the same region as your cluster.

  3. Point your DOMAIN DNS record to the IP

Step 6: Create an AuthO account and application

  1. Go to the auth0.com website and create a new account.

  2. Create an Auth0 Application (e.g you can name it Presslabs Dashboard): Create an Auth0 application

  3. Choose the application type Regular Web Application Choose the application type

  4. Complete the following:

    • Token Endpoint Authentication Method: Post
    • Allowed Callback URLs: https://DOMAIN
    • Application Login URI: https://DOMAIN
    • Allowed Web Origins: https://DOMAIN, where https://DOMAIN is the domain that you chose for the Presslabs Dashboard at Step 4, e.g. https://dash.myagency.com.

    Fill in Auth0 application details

  5. Note down the following:

    • Domain (AUTH0_DOMAIN)
    • Client ID (AUTH0_CLIENT_ID)
    • Client Secret (AUTH0_CLIENT_SECRET)

    Note down Auth0 application credentials

Step 7. Allow access to the Auth0’s management API from application

  1. In the Auth0 dashboard, go to APIs section of the main menu Auth0 APIs Dashboard

  2. In Auth0 Management API, go to Machine To Machine Applications Auth0 - Machine To Machine Applications

  3. Make sure that Presslabs Dashboard application is authorized and it has read:users permissions. (You do that by expanding the Presslabs Dashboard application from the list)

Autorize the Presslabs Dashboard

Don’t forget to press the Update button after grating the user permissions!

Now you can proceed with actually installing the Presslabs Dashboard.