ReactJS
1. Setup JamAIBase project.
Create a new project.

Get the Project ID.

Create JamAI API Key at Organization > Secrets > Create API Key.

2. Install React and Create a New Project
3. Install jamaibase.
4. Create and Use the JamAI Client in your React component
Note: Exposing your API key directly in the client-side code is a security risk. For improved security, consider using a framework like Next.js or SvelteKit that allows server-side rendering.
5. Start the app
Last updated
Was this helpful?