The next step is to get your API key and account ID, which are needed to make calls to the Scale GP API and to create, modify resources in the right place. First navigate to the SGP Admin and grab your API key. If you do not have an account provisioned by your organization or Scale, please contact the relevant System administrator.Documentation Index
Fetch the complete documentation index at: https://docs.gp.scale.com/llms.txt
Use this file to discover all available pages before exploring further.






Storing Your Credentials
For security and convenience when using the SDK, it’s recommended to store your API key and account ID as environment variables. This prevents accidentally exposing your credentials in code repositories.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:
| Parameter | Description | Default |
|---|---|---|
account_id | Your SGP account ID. Found in the Accounts tab of the admin dashboard. | SGP_ACCOUNT_ID environment variable |
api_key | Your SGP API key. Found in the API Keys tab of the admin dashboard. | SGP_API_KEY environment variable |
environment | The SGP environment to connect to. Possible values: production-multitenant, staging, development, local. | production-multitenant |
base_url | Override the base URL with a custom endpoint. Takes precedence over environment. | None |

