Authentication
Since SecureBatch processes data locally, "Authentication" is primarily used to verify your license tier (e.g., unlocking 4K processing or removing watermarks).
Obtaining an API Key
1
Log in to your Dashboard
2
Navigate to Settings > Developer Keys
3
Click Generate New Key
Implementation
Pass the key when initializing the client in your application.
client.ts
import { SecureBatch } from '@securebatch/sdk';
const client = new SecureBatch({
apiKey: 'sb_live_892347289347...', // Your Key
environment: 'local'
});Security Warning
If you are using the SDK in a browser environment, ensure your API Key is restricted to your specific domain (e.g., yourdomain.com) in the dashboard settings to prevent unauthorized usage.