Initialization
To initialize the server SDK, you need to provide your application id, key id and key secret.
You can get these values from the developer portal:
- Create an application
- Create a key for it
- Copy values
Example
import { createServerSDK } from '@hautechai/server';
const serverSDK = createServerSDK({
appId: 'your-app-id',
appKeyId: 'your-app-key-id',
appKeySecret: 'your-app-key-secret',
});