Jupyter Notebooks provide an interactive environment for data science, machine learning, and general programming. With Batteries Included, you can quickly set up notebooks with pre-configured environments for Python, R, Julia, etc.
Installing Jupyter Notebooks
To get started with Jupyter Notebooks:
- Navigate to the
AI
section in the control server. - Click
Manage Batteries
. - Find the
Notebooks
battery and clickInstall
.
Creating a Notebook
Once installed, you can create new notebooks:
- Go to the
AI
tab - Click
New Notebook
in the Jupyter Notebooks section - Configure your notebook:
- Give it a name
- Choose the instance size
- Add environment variables (optional)
- Select advanced settings if needed
Accessing Your Notebooks
After creating a notebook:
- Return to the
AI
tab - Find your notebook in the list
- Click the
Open Notebook
button to launch the Jupyter interface - Choose from available kernels including Python, R, and Julia
Environment Variables
You can connect your notebook to other services by adding environment variables:
- Add database connections (e.g.,
DATABASE_URL
) - Configure API keys
- Set other environment-specific variables
These variables will be available in your notebook’s environment automatically.
Additional Resources
- Visit our PGVector guide to learn how to create AI applications using PostgreSQL and PGVector with Jupyter Notebooks.