Templates
Get started quickly with Echo using pre-built templates
The easiest way to get started with Echo is to use one of our pre-built templates.
React
The React template is a simple application that uses Vite and echo-react-sdk. Uniquely Echo does not require
a server to make API calls because it handles Oauth directly in the browser.
Create an Echo App
Go to echo.merit.systems/new to get an app_id.
Create a React app using Vite
Run the following commands to create a new React app using Vite.
npx echo-start@latest --template vite --app-id YOUR_ECHO_APP_IDyarn dlx echo-start@latest --template vite --app-id YOUR_ECHO_APP_IDpnpx echo-start@latest --template vite --app-id YOUR_ECHO_APP_IDbunx echo-start@latest --template vite --app-id YOUR_ECHO_APP_IDNext.js
The Next.js template is a full-stack application that uses the Next.js framework with the echo-next-sdk.
Create an Echo app
Go to echo.merit.systems/new to get an app_id.
Create a Next.js app
Run the following commands to create a new Next.js app.
npx echo-start@latest --template next --app-id YOUR_ECHO_APP_IDyarn dlx echo-start@latest --template next --app-id YOUR_ECHO_APP_IDpnpx echo-start@latest --template next --app-id YOUR_ECHO_APP_IDbunx echo-start@latest --template next --app-id YOUR_ECHO_APP_IDAssistant UI
A full-featured chat UI powered by @assistant-ui/react integrated with Echo and the Vercel AI SDK v5.
Create an Echo App
Go to echo.merit.systems/new to get an app_id.
Scaffold the Assistant UI template
Use degit to copy the example into a new directory.
npx degit Merit-Systems/echo/examples/assistant-ui my-assistant-ui
cd my-assistant-ui
npm installyarn dlx degit Merit-Systems/echo/examples/assistant-ui my-assistant-ui
cd my-assistant-ui
yarn installpnpx degit Merit-Systems/echo/examples/assistant-ui my-assistant-ui
cd my-assistant-ui
pnpm installbunx degit Merit-Systems/echo/examples/assistant-ui my-assistant-ui
cd my-assistant-ui
bun installConfigure environment
Create a .env.local file and set your Echo App ID:
NEXT_PUBLIC_ECHO_APP_ID=YOUR_ECHO_APP_IDRun the app
pnpm dev