Skip to main content

04.5.09.1 Authorization instructions

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.
  1. On the Create service accounts page, click Enable the API.
  1. On the Enable API wizard page, click CREATE PROJECT.
  1. Configure the project and click CREATE.
  1. Confirm the project and allow API usage.
  1. Go to this link and scroll down. Click Go to Create a service account.
  1. Configure the account details (only the name is mandatory, but defining access rights is recommended) and click DONE.
  1. Go to this link and scroll down. Click Go to Service accounts.
  1. Select the project created in step 4.
  1. Select the account address for which you need to create a key.
  1. Go to the KEYS tab and click the ADD KEY dropdown.
  1. Choose Create new key.
  1. Select the JSON key type and click CREATE.
  1. View the downloaded key in JSON format. Open the file in any text editor and copy its contents.
  1. Go to this link and select the project created in step 4.
  1. Search for the desired API and choose either Cloud Storage API or Cloud Pub/Sub API.
  1. Enable the API by clicking ENABLE.

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.
  1. Click the Create an authorization button.
  1. Click New authorization and choose Cloud Pub/Sub.
  1. In the service_json field, enter the previously obtained key in JSON format and click Authorize.
  1. Verify the authorization in the node and complete the remaining node configuration fields.

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