R12.3-20260213
Set Up API Server
|
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:
- Log in to your NetBrain System.
- In the Domain Management page, navigate to Discovery > API Server Manager.

- 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.
- 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.
Note: If you have any issues with the setup of an API server, contact NetBrain Support.