tenants
table that is built-in to Nile.
Note: You can also start by setting up a new Netlify project and enabling the Nile integration from there. If you choose this route, make sure you still create the todos
table.
nile-netlify-todo
, but you can choose anything you like.
When choosing “Site to Deploy”, make sure you choose the “main” branch and the “todo-nextjs” site.
This project needs a few environment variables to be set (in addition to the Nile database connection variables that you’ll get automatically from the extension). You can set them here:
NEXT_PUBLIC_APP_URL
variable.
And use whatever OpenAI-compatible inference API you like in the AI_API_KEY
, AI_BASE_URL
and AI_MODEL
variables.
Once you set this, click on “Deploy site”.
In the Site screen, click on “Site configuration”. Scroll down to “Nile” (or select it on the left hand menu), and pick the database you created earlier.