Installation
Last updated February 28, 2026
Install public support pages and connect them to your Vicket website.
Vicket provides a scaffold package to add support pages to your app:
/supportto create tickets/ticket?token=...to read and reply to tickets
1. Prepare your website in Vicket
Before embedding support pages:
- Create or select a website in Dashboard
- Get the website API key
- Create at least one ticket template
Without templates, users cannot submit tickets.
2. Generate pages
npx @vicket/create-support --framework nextSupported frameworks:
nextnuxtreactvuesveltekit
Optional styling mode:
--styling css--styling tailwind
3. Configure environment variables
Next.js
NEXT_PUBLIC_VICKET_API_URL=https://api.vicket.io/api/v1
NEXT_PUBLIC_VICKET_API_KEY=your_website_api_keyNuxt
NUXT_PUBLIC_VICKET_API_URL=https://api.vicket.io/api/v1
NUXT_PUBLIC_VICKET_API_KEY=your_website_api_keyReact / Vue (Vite)
VITE_VICKET_API_URL=https://api.vicket.io/api/v1
VITE_VICKET_API_KEY=your_website_api_keySvelteKit
PUBLIC_VICKET_API_URL=https://api.vicket.io/api/v1
PUBLIC_VICKET_API_KEY=your_website_api_key4. Validate
- Open
/support - Submit a test ticket
- Open the ticket link from your notification flow
- Verify the ticket appears in the dashboard
Security note
Generated templates use direct browser calls with a website-level public support key.
For production, we recommend modifying the generated code to route support calls through your own backend proxy (BFF) instead of calling Vicket directly from the client.
This lets you keep credentials server-side where possible and add abuse protections such as rate limiting, CAPTCHA, and request validation.