---
title: "OctoPrint setup"
description: "Connect an OctoPrint printer through your site agent, grant the permissions Pluraprint needs, and restore access if the key is revoked."
url: https://pluraprint.com/docs/printers/octoprint
---
# OctoPrint setup

Connect an OctoPrint printer through your site agent, grant the permissions Pluraprint needs, and restore access if the key is revoked.

Use OctoPrint 1.5 or later, including OctoPrint 2.0, with one printer per OctoPrint instance. Connect the printer to OctoPrint and set its active printer profile. The [site agent](https://pluraprint.com/docs/sites-and-agents/agents) needs to be online on the same local network and able to reach the OctoPrint address. Your browser also needs to reach it if you approve access there.

Check the [OctoPrint model list](https://pluraprint.com/printers/octoprint#models) for your exact printer. The integration covers rectangular beds, one extruder, and one loaded material. Slice for your printer and export text `.gcode`. In PrusaSlicer, turn off binary G-code for files you send through OctoPrint.

## Create a dedicated OctoPrint user

In OctoPrint, open **Settings → Access Control**. Create a group for Pluraprint and a dedicated user in that group. Remove inherited or default group memberships that grant extra access. See [OctoPrint access control](https://docs.octoprint.org/en/2.0.1/features/accesscontrol.html).

Grant the following permissions in the group.

| Purpose | OctoPrint permission keys |
| --- | --- |
| Read printer status and temperatures | `STATUS` |
| List, upload, and select files | `FILES_LIST`, `FILES_UPLOAD`, `FILES_SELECT` |
| Start, pause, resume, and stop prints | `PRINT` |
| Remove Pluraprint’s files during cleanup or recovery | `FILES_DELETE` |
| Read printer profiles and use **Connect to printer** | `CONNECTION` |
| Approve the setup request in OctoPrint | `PLUGIN_APPKEYS_GRANT` |
| Capture snapshots if you use a webcam | `WEBCAM` |

The dedicated user can operate the printer with these grants. Keep administrator and system permissions on your administrator account. Pluraprint marks a key with administrator, settings, or system access as **Broad access** when you confirm the printer.

## Add the printer

1. In Pluraprint, open **Printers → Add printer** and select the **Site**.
2. Under **On the network**, find the OctoPrint instance and select **Add**. If it is missing, select **OctoPrint** under **Not listed** and enter its HTTP or HTTPS address. Include the port and any path your reverse proxy uses, such as `https://printers.example.com/octoprint`.
3. Enter the dedicated user’s name in **OctoPrint user** so only that account can approve the request, then select **Open OctoPrint**. Sign in as the dedicated user and select **Allow** on the request from **Pluraprint**, which appears as a notification on the main OctoPrint page. Return to Pluraprint after approval.
4. Check the suggested **Model** against the physical printer. If it differs, choose the exact model from the picker. Check the name, nozzle, and build plate before saving.
5. Select **Add printer**. Use **Add and next** to continue with another printer from the network list.

### Use an API key instead

If the approval prompt is unavailable, choose **Use an API key instead** or select **API key** in the network list. In OctoPrint, sign in as the dedicated user and open **User Settings → Application Keys**. Generate a key for Pluraprint and paste it into the **API key** field. See [OctoPrint Application Keys](https://docs.octoprint.org/en/2.0.1/bundledplugins/appkeys.html).

If **Application Keys** is disabled, use the dedicated user’s personal key in **User Settings → Access → API Key**.

## Run prints and restore the connection

- Record the installed nozzle, plate, and loaded filament under [Equipment](https://pluraprint.com/docs/printers/equipment). Pluraprint uses what you enter when it matches jobs. OctoPrint’s printer profile can suggest a nozzle size during setup.
- Pluraprint sends approved jobs and confirms that each file starts. You can watch progress and temperatures, and pause, resume, or stop a Pluraprint job. Snapshots appear when OctoPrint can serve a configured webcam snapshot and the key has `WEBCAM`.
- [Storage cleanup](https://pluraprint.com/docs/printers/printer-storage#octoprint-and-klipper) removes old files Pluraprint uploaded under `pluraprint/` while the printer is idle.
- If OctoPrint is up but the printer is disconnected, check power and USB. Select **Connect to printer** on the printer’s page when it appears. OctoPrint uses its saved port, baud rate, and profile preferences.
- If OctoPrint rejects a revoked key, select **Reconnect** on the printer’s page. Approve a new request in OctoPrint or paste a replacement API key, then save the connection.

## Troubleshoot setup and uploads

| What you see | What to check |
| --- | --- |
| The host is missing from **On the network** | Check that OctoPrint’s Discovery plugin is enabled and multicast DNS can reach the site agent. If the agent can route to the host across network segments, enter its address under **Not listed**. |
| Pluraprint can’t reach the address | Check the selected site, agent status, and the address from the agent’s network. For HTTPS, use a certificate the agent trusts. |
| Approval is missing or expired | Sign in to OctoPrint as the dedicated user, check `PLUGIN_APPKEYS_GRANT`, and select **Request again** after a request expires. You can also paste a key. |
| Pluraprint lists missing permissions | Add the named grants to the user’s group in OctoPrint, then select **Check again** in Pluraprint. |
| OctoPrint is reachable but **Connect to printer** fails | Open OctoPrint and check that it can connect with the saved serial port, baud rate, and profile. |
| Small files upload and large files fail | Check the free space on the OctoPrint host. If you see HTTP 413, ask the host administrator to check the reverse proxy’s request body limit and OctoPrint’s upload limit. |
