Connect to an external Jupyter server
Use this guide when Orion is not started by the orion CLI, or when you want to use an existing Jupyter installation instead of Orion's managed environment.
Orion needs a running Jupyter Server (1.x or 2.x) with the APIs for kernels, sessions, contents, and terminals.
When you need this
- You ran
orion --app-onlyand will connect from the UI - You use conda, pyenv, or a corporate Jupyter setup
- Orion's managed venv is not compatible with your project
- The Get started card asks you to connect manually
Quick connect
Open a terminal in the environment where Jupyter is installed.
Start the server with CORS allowed:
macOS / Linux (bash/zsh):
bashjupyter server --ServerApp.allow_origin='*'Windows (PowerShell):
powershelljupyter server --ServerApp.allow_origin='*'Copy the full URL with token from the terminal, for example:
http://127.0.0.1:8888/?token=0123456789abcdefIn Orion, open the kernel selector in the toolbar.
Paste the URL and connect.
Orion saves successful connections for next time.
CLI alternatives
| Goal | Command |
|---|---|
| Orion app only (no auto-start Jupyter) | orion --app-only |
| Default: Orion starts Jupyter and auto-connects | orion |
| Jupyter root = current folder | orion --here |
See CLI reference.
Required Jupyter capabilities
Orion checks that the server exposes:
- Kernel specs and running kernels
- Sessions
- Contents (file browser)
- Terminals (integrated terminal panel)
If connection fails with capability errors, upgrade Jupyter Server:
python -m pip install -U jupyter_serverMore options: Jupyter Server installation docs.
Install Jupyter if missing
python -m pip install jupyter_serverThen run the jupyter server command above.
CORS and connection errors
If the browser blocks the connection or Orion shows CORS-related errors, confirm you started Jupyter with --ServerApp.allow_origin='*'. See Fix Jupyter CORS connection errors.
Workspace skills in hidden folders
Skills under .agents/skills or .orion/skills may not load until Jupyter allows hidden directories. See Jupyter hidden folders and skills.
Related
Last updated May 2026.
