Authentication
Make sure to follow the previous steps described in Authentication to obtain an API key and account ID.Set up with your coding agent
To have a coding agent such as Claude Code, Cursor, or GitHub Copilot install and configure the SDK in your project, copy this prompt into it:Install and configure the SGP Python SDK in your project.
Installing the SGP SDK Client
The evaluation examples requirescale-gp-beta 0.1.0 or later. To install a compatible ScaleGP Python client, run:
Configuring the Client
The SGP client can be configured with your API key and account ID. Examples on how to use the SGP client can be found in Recipes. The simplest approach is to set environment variables:SGP_API_KEY and SGP_ACCOUNT_ID environment variables. You can also pass them explicitly:
SGPClient constructor accepts the following parameters: