Installation
WaiNao is a web-based platform, so there's no installation required for basic usage. However, if you want to use the API, you'll need to set up authentication.
API Setup
1. Get Your API Key
Navigate to Settings > API Keys and create a new API key.
2. Install the SDK (Optional)
bash
npm install @wainao/sdk3. Configure Your Environment
bash
export WAINAO_API_KEY="your-api-key-here"Usage Example
typescript
import { WaiNao } from '@wainao/sdk';
const client = new WaiNao({
apiKey: process.env.WAINAO_API_KEY
});
const result = await client.run('your-workflow-id', {
input: 'Hello, World!'
});