Getting started
Install Blinq manually
Skip the AI agent. Pick one of two install paths below and paste the snippet from your Blinq dashboard.
npm package
npm install @blinq_ai/widgetimport { BlinqWidget } from "@blinq_ai/widget";
export default function AppShell() {
return (
<BlinqWidget
publicToken={process.env.NEXT_PUBLIC_BLINQ_TOKEN!}
apiBaseUrl="https://app.blinq.kz"
/>
);
}Script tag
<blinq-widget
data-public-token="bq_pk_..."
data-api-base-url="https://app.blinq.kz"
></blinq-widget>
<script
src="https://app.blinq.kz/widget/blinq-widget.iife.global.js"
async
></script>Domain restrictions
In production, restrict the public token to known origins from the Setup → Install tab in your Blinq dashboard. Use wildcard matchers only for staging.