Getting started
Rafiq runs chat flows over your own APIs. A flow asks what it needs, calls only the operations you allowed, and asks the user before anything changes.
1. Get an account
Sign up from the pricing page: pick a plan, create your account and your organisation in one step, and confirm the plan. You land in the app, signed in.
2. Connect your API
Open Connectors and choose Add a connector: where your API lives (https only), how it signs in, and the operations a flow may call. To fill the operations in quickly, paste your OpenAPI 3 document and tick the ones flows may use; nothing else in it becomes an operation. An API key goes in the vault, under Settings → Keys, never in the flow.
3. Build a flow
Open Flows and create one. Give it a key (what apps start it with), then build its steps: ask for values, call an operation, let the user choose from a list, confirm, say something, hand off to a person, end. Every save is a version; publish one to put it live.
4. Try it
Talk to the flow in Test chat. It runs through the real runtime, but anything that would change data is a dry run, shown with the request it would have made. Save the conversations you want every version to pass as Test cases.
5. Open it in your app
Issue a key in Chat keys (it is shown once), then add the Flutter SDK to your app:
AppChat.configure(AppChatOptions(
chatKey: 'ck_…',
apiUrl: 'https://<your chat host>',
));
FilledButton(
onPressed: () => AppChat.open(context, flowKey: 'pizza', title: 'Order'),
child: const Text('Order'),
);
The Flutter SDK guide has everything else, signed-in users included.
Next
- Concepts: flows, steps, slots, connectors, versions and confirmations.
- Read real conversations in Transcripts, and where people drop off in Analytics.