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 and minimum 3 nodes, or any settings suited to your needs, but make sure you have the following:

1. Static version for your cluster of at least 1.15.0

All Dashboard features are available only for K8s >= 1.15, so make sure to choose a Static version for your cluster of at least 1.15.

Create a Kubernetes Cluster

2. Machine type at least n1-standard-4

Go to Node Pools -> Default Pool -> Nodes to choose your machine type:

Choose Machine Type

3. Make sure you have checked Enable Workload Identity

Go to Cluster -> Security to enable it:

Enable Workload Identity

4. After you've created your cluster, you'll need to connect to it:

In your cluster details, simply press “Connect”, then copy and run the command line from here into your terminal:

Connect to the cluster

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 .

See Also

How to install the Google Config Connector

In order to bind the Service Account from Kubernetes with the Service Account from Google Cloud [...]

Install the Presslabs Dashboard

The Presslabs dashboard can be installed with a simple click from Google's Marketplace, after making [...]