- Create a Nebius API key for authentication.
- Create a Portkey API key for authentication.
-
Save the keys to the environment variables:
-
Configure the integration:
-
Install the Portkey SDK:
-
Create the following
portkey.js
script:This script sends a multi-message request to the specified model in Nebius AI Studio. -
Run the script:
The output is the following:
-
Install the Portkey SDK: