Latenode LogoLatenode
App Authorization Instructions

Google Cloud Storage and Google Cloud Pub/Sub

To use nodes from the Google Cloud Storage and Google Cloud Pub/Sub groups, you need to obtain a key (token) and authorize access.

Obtaining a Token

To get a key (token), follow these steps:

  1. Create a Google account and visit this link.

  2. On the Create service accounts page, click Enable the API.

Enable API

  1. On the Enable API wizard page, click CREATE PROJECT.

CREATE PROJECT

  1. Configure the project and click CREATE.

Configure project

  1. Confirm the project and allow API usage.

Confirm project

Allow API

  1. Go to this link and scroll down. Click Go to Create a service account.

Create service account

  1. Select the project created in step 4.

Select project

  1. Configure the account details (only the name is mandatory, but defining access rights is recommended) and click DONE.

Account details

  1. Go to this link and scroll down. Click Go to Service accounts.

Service accounts

  1. Select the project created in step 4.

Select project for keys

  1. Select the account address for which you need to create a key.

Select account

  1. Go to the KEYS tab and click the ADD KEY dropdown.

ADD KEY

  1. Choose Create new key.

Create new key

  1. Select the JSON key type and click CREATE.

JSON key type

  1. View the downloaded key in JSON format. Open the file in any text editor and copy its contents.

Downloaded key

  1. Go to this link and select the project created in step 4.

API library

  1. Search for the desired API and choose either Cloud Storage API or Cloud Pub/Sub API.

Search API

  1. Enable the API by clicking ENABLE.

Enable API

Authorization Setup in Nodes

When configuring nodes in the Google Cloud Storage and Google Cloud Pub/Sub groups, you need to authorize access. To do this:

  1. Select the desired node, for example, from the Google Cloud Pub/Sub group.

Select node

  1. Click the Create an authorization button.

Create authorization

  1. Click New authorization and choose Cloud Pub/Sub.

Choose Cloud Pub/Sub

  1. In the service_json field, enter the previously obtained key in JSON format and click Authorize.

Enter key

  1. Verify the authorization in the node and complete the remaining node configuration fields.

Verify authorization

You can view the node's execution result by running the scenario or clicking the Run once button on the node.

Execution result