Choose your SDK
Pick the SDK that matches your app. They all add the same agent, and they all need your project's public key.
| SDK | Use it for | Install |
|---|---|---|
| React | React apps, including ones that use React Router | npm install @vableai/react |
| Vue | Vue apps, including ones that use Vue Router | npm install @vableai/vue |
| Script tag | Any other website, with no build step | One <script> tag in your <head> |
| Flutter | Android and iOS apps built with Flutter | vable_flutter in your pubspec.yaml |
What each SDK supports
| Feature | React | Vue | Script tag | Flutter |
|---|---|---|---|---|
| Text chat | ✓ | ✓ | ✓ | |
| Voice chat | ✓ | ✓ | ✓ | ✓ |
| Intents and intent states | ✓ | ✓ | ✓ | |
| Routing | ✓ | ✓ | ✓ | |
| Access tokens | ✓ | ✓ | ||
| Robot | ✓ | ✓ | ✓ |
On a website, prefer the React or Vue SDK if your app uses one of them. The script tag is the quickest start, but it doesn't support intents, routing or access tokens yet.
Flutter
The Flutter SDK is built for voice. It shows a voice chat overlay that stays on screen as users move around your app, and it reads the screen so the agent understands what's on it. It runs on Android 8 (API 26) and up, and iOS 13 and up.