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
AIsection in the control server. - Click
Manage Batteries. - Find the
Notebooksbattery and clickInstall.
Creating a Notebook
Once installed, you can create new notebooks:
- Go to the
AItab - Click
New Notebookin 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
AItab - Find your notebook in the list
- Click the
Open Notebookbutton 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.