Skip to content
Back

AI setup wizardPro

Switch on a support assistant in three stages: link your knowledge tools and see them import, set the model, voice and safety rules, then try a sample question and check the numbered sources behind the reply before launching.

oxyn add ai-setup-wizard

Ask Northwind

Support assistant setup

Draft
  • Notion1,284 documents
  • Google Drive3,910 documents
  • Intercom862 documents
  • Slack5,420 documents
0 sources · Claude Sonnet 4.5
The code is part of Oxyn Pro

The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.

Get Pro

Rendered from Rust at build time · goes live when visible

When to use

  • Turn on an AI assistant in three steps: connect sources and watch them sync, choose model, tone and guardrails, then test with a question and go live.

When not to use

Installation

AI setup wizard is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.

Terminal
oxyn add ai-setup-wizard

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Connect

Step 1, nothing connected.

Ask Northwind

Support assistant setup

Draft
  • Notion1,284 documents
  • Google Drive3,910 documents
  • Intercom862 documents
  • Slack5,420 documents
0 sources · Claude Sonnet 4.5
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Test

Step 3 with sources synced (Oxyn extra).

Ask Northwind

Support assistant setup

Draft

Ask a test question to see how it answers.

3 sources · Claude Sonnet 4.5
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Error

Intercom's token expired, with Retry (Oxyn extra).

Ask Northwind

Support assistant setup

Draft
  • Notion1,284 documents
  • Google Drive3,910 documents
  • Intercom862 documents
  • Slack5,420 documents
0 sources · Claude Sonnet 4.5
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Live

Live, with the summary (Oxyn extra).

Ask Northwind

Support assistant setup

Live
Ask Northwind is live
  • Sources3 connected
  • ModelClaude Sonnet 4.5
  • ToneFriendly
  • Guardrails2 on
Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

AiSetupWizard

PropTypeDefaultDescription
nowrequiredClockMs—Host clock.
startusizeDefault::default()Starting step (0 to 2; 3 opens live).
failboolDefault::default()Intercom fails on its first sync (error scenario).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
←or→or↑or↓On the model cards, select a model
SpaceToggle a guardrail
EnterAsk the question, or stop an answer

Accessibility

  • Steps are an ordered list with aria-current; locked steps are disabled.
  • Each sync is a progressbar named after its source; citations are numbered and listed by source.
  • Connecting, failures, selections, answers and going live are announced, including that they are simulated.
From the spec

Steps are an ordered list with aria-current; each sync is a progressbar named after its source; model cards are a radio group with arrow keys; guardrails are switches; Enter asks or stops; every change is announced, including that it is simulated. Every action returns the line the polite live region announces. The focus outline shows only for keyboard focus.

Motion & interaction

Sync counts climb with a progress line; the answer streams three words a tick and each citation number appears once its sentence is complete; the header pill flips from Draft to Live.

Timing

Everything on screen is derived from the host clock now (no timers in the block), so playback, tests and the GPUI view agree.

TransitionDurationEasing
Sync2,400 ms a source (SYNC_MS)linear
Answer3 words per 34 ms ticklinear

Reduced motion: fades, shimmer and count-ups stop; every state keeps its words and icons.

Responsive behaviour

  • Up to 600 px; below 480 px step labels hide behind their numbers; below 400 px the footer meta hides.
Edge cases (spec)

Up to 600 px. Below 480 px of block width step labels hide behind their numbers and model cards stack; below 400 px the footer meta and citation names hide. The step area keeps one minimum height. Layout follows the block's own width (container queries), never the viewport. Checked at 1440, 768 and 390 px in light and dark with no text overlap. Chrome is monochrome grey; colour is semantic only (success, warning, danger, info) plus data series and the official coloured brand and model marks.

Notes for AI

  • Import AiSetupWizard from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: BlocksView in oxyn_gpui.
  • Props to set first: now.
  • It reads a clock (now) for live timers; pass one clock for the whole page rather than one per component.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI