R12.3-20260213

Set Up API Server

Information Note: Before setting up your API server, read NetBrain-Requirements for API Server Setup first.

Follow these steps to set up a NetBrain GCP API Server via OAuth Client:

  1. Log in to your NetBrain System.
  2. In the Domain Management page, navigate to Discovery > API Server Manager.

  3. Click the + Add API Server and set up the GCP API Server via OAuth Client.

    Add External API Server configuration using the following information.
    • Server Name: a unique name.
    • Description: an optional field to describe this server.
    • API Source Type: Select Google Cloud.
    • Access Method: Select OAuth 2.0 Client.
    • Endpoint: OAuth 2.0 Client ID. Refer to step 9 of section Obtain Refresh Token. You can copy it from the downloaded JSON file.
    • Client Secret: refer to step 9 of section Obtain Refresh Token. You can copy it from the downloaded JSON file.
    • Organization ID: your actual GCP Organization ID.
    • Refresh Token: refer to step 9 of section Obtain Refresh Token. You can copy it from the downloaded JSON file.
    • Front Server/Front Server Group: select the front server/front server group that can access GCP.
  4. Click Test to verify that NetBrain system has access to the GCP account resources. If it fails, check whether the roles and policies are configured properly.
    Information Note:  If you have any issues with the setup of an API server, contact NetBrain Support.