Create an Account
If you don’t have a Novita account, sign up first. For details, please refer to Quickstart guide. New users can complete a quick account setup survey to receive $100 in promotional Sandbox credits. No credit card is required.Create API Key
Create an API key on the Novita Key Management page and keep it for later use.Install SDK
You can install the Novita SDK by executing the following commands. JavaScript & TypeScript SDKCLI
CLI
Configure Environment Variables
Create a.env file in your project folder if it does not exist, and configure your API key.
The SDK reads NOVITA_API_KEY from the environment. dotenv/config in JavaScript and load_dotenv() in Python only load the value into the process environment; you do not need to pass the API key into each example manually.
.env
Output
CLI
Start a Sandbox with the SDK
Below is a simple example showing how to create a sandbox, execute code inside it, and list files in the sandbox filesystem.CLI
CLI