The pages available to you depend on your deployment and permissions. If you can’t see the pages described below, ask your administrator for access.
Deployments with Identity & Access
Open your profile menu and select Identity & Access. This opens the IAM dashboard configured for your deployment. Use its API key and account management pages to obtain your key and the ID of the account you want to use.Deployments with Access Management
If your profile menu shows Access Management, open it and select the account group containing your account. In the group’s Accounts table, copy the Account ID for the account you want to use. The Account Group ID shown in the group listing is a different identifier. Use the profile menu’s API Key entry to obtain your API key.Legacy admin dashboard
If your profile menu has API Key and Manage Accounts entries instead, use the legacy admin pages below. On your deployment’s SGP host, open/admin/api-key to get your API key. The screenshots in this section show this interface. Deployments with Identity & Access redirect these legacy pages, and deployments with Access Management redirect the legacy Accounts page; use the matching section above instead.
If the API Key tab says API key management has moved to the IAM dashboard, Rotate API Key is disabled. Manage your API keys from Identity & Access instead.


/admin/accounts on the same SGP host and find the account ID for the
account that you want to work with. You can also create a new account. Make sure to copy this ID to use it when
testing your setup.




Storing Your Credentials
Store your API key in an environment variable so it never ends up in your code or a repository. The account ID isn’t secret, but setting it as an environment variable too lets the SDK pick up both automatically.SGP_API_KEY and SGP_ACCOUNT_ID environment variables if they are set. Otherwise, you can pass them to the SGPClient constructor.
Python
SGPClient constructor accepts the following parameters: