Step-by-step guide to build your first AI-powered application using ElHN's powerful tools and APIs.
Start Building
elhn new my-ai-project --template react-typescript
This command initializes a new React project with TypeScript support and ElHN integrations.
my-ai-project/
├── public/
├── src/
│ ├── App.tsx
│ ├── main.tsx
├── package.json
const response = await elhn.generateCode({
prompt: "Create a chatbot component with message history",
language: "typescript"
})
Use ElHN's code generation API to create your AI assistant component in one line.
const suggestions = await elhn.codeSuggestions({
codeContext: "const bot = async (query) => {...",
programmingLanguage: "typescript"
})
npm start
Your AI-powered app will be running at http://localhost:3000
npm run build
Create an optimized production build ready for deployment.
Use elhn.optimize()
to automatically analyze and improve your app's performance.
Deploy with one command: elhn deploy --platform vercel
Get AI insights: elhn ai-insights
Ready to see it in action? Create your own development account in seconds