Projects
Development
Best practices for local testing, localhost origins, mock avatars, and test API keys. Overview The Development environment allows developers to iterate on...
On this page (3 sections)
Overview
The Development environment allows developers to iterate on assistant prompts, test avatar animations, and verify DOM element guidance locally without affecting production data.
Local Dev Server Setup
- In your project's Development environment, ensure
http://localhost:3000andhttp://localhost:5173are listed in Allowed Domains.
- Set your test keys in
.env.local:
NEXT_PUBLIC_ASIYST_PROJECT_ID=proj_9f8a2b3c4d
NEXT_PUBLIC_ASIYST_PUBLIC_KEY=pk_test_8a7b6c5d4e3f2a1b
Mocking Conversations & Knowledge
Test edge-case prompts using the dashboard AI Workspace > Playground before pushing code changes to production.