Integrate Clarity
Call the Clarity card and chat from your backend, over the SDK or REST.
Set up the client
import { createClient } from '@motif-ai/sdk'
const motif = createClient({
apiKey: process.env.MOTIF_API_KEY!,
// baseURL defaults to https://api.motifapp.ai/api
})POST https://api.motifapp.ai/api/v1/clarity/card
x-api-key: <motif-api-key>
content-type: application/jsonClarity card
Clarity chat
Next steps
Last updated