To create a new token, follow the steps below:
-
Log in to the Netskope tenant UI and go to Settings > Security Cloud Platform > AI Gateway > Authentication Token & Group.
-
In the Authentication Token & Group page, click New Token.
-
In the New Token page, enter a token name in the Token field. This is a required field.
-
In the Expire In field, enter the desired expiration duration and select the appropriate unit (Hours/Days/Weeks/Months). This is an optional field.
-
From the Token Group list, choose a token group and assign the new token to it.
-
Click Save to generate an authentication token.

-
Copy the token in the Copy Token window and save it securely.
-
Add the token to your AI Agent’s environment variables.
-
Ensure the agent passes this value in the
x-ns-aig-apikeyheader of its API calls.

