Next JS
1. Setup JamAIBase project.
Create a new project.

Get the Project ID.

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

2. Create Table
We will fetch table data and display on our Next.js application. If your project is empty, you can create new table through our UI on https://cloud.jamaibase.com or through the API:
3. Create a new Next.js Project
4. Install jamaibase.
5. Create .env.local file at the root of your project and add the keys:
.env.local file at the root of your project and add the keys:6. Create a route handler to fetch data.
7. Then, in your Next.js component, you can fetch this data from the API route and render it
8. Start the app
Last updated
Was this helpful?