Authentication
How to obtain an OmniDimension API key and configure it for the SDK.
To use the OmniDimension SDK, you need an API key. Generate and manage your keys from the API management dashboard.
Setting up your API key
We recommend storing your API key as an environment variable for security:
export OMNIDIM_API_KEY="your_api_key_here"set OMNIDIM_API_KEY=your_api_key_here$env:OMNIDIM_API_KEY="your_api_key_here"Once the variable is set, pass it to the SDK:
import OmniDimension from '@omnidim-ai/sdk';
const client = new OmniDimension({ apiKey: process.env.OMNIDIM_API_KEY });import os
from omnidimension import Client
client = Client(os.environ['OMNIDIM_API_KEY'])