Guide
Your access code and IP address
Apps that talk to a Bambu Lab printer on your network need two things: its access code, and sometimes its IP address. Both are on the printer's screen.
In short
Both are on the printer's screen, in its network settings:
- X1, H2 and P2S: Settings → LAN Only (or Network).
- P1P and P1S: Settings → WLAN.
- A1, A1 mini and A2L: in Settings, on the LAN Only Mode or network page.
The access code is 8 characters. The IP address is the printer's address on your network, like 192.168.1.42. Menu names vary with firmware.
The access code
The access code is the printer's password for local connections. Bambu Studio, OrcaSlicer and Bambu Bar use it to sign in to the printer on your network, in cloud mode and in LAN Only mode alike.
Treat it like a password: anyone on your network with the code can read the printer's status, and with Developer Mode on, control it. Don't post it in forums or screenshots, and never type it into a website.
The IP address
The IP address is where the printer is on your network. You need it when an app can't find the printer on its own, for example across a mesh network or when discovery is blocked. Besides the printer's screen, your router's list of connected devices shows it.
If the address keeps changing, give the printer a fixed one with a DHCP reservation in your router's settings.
Use them in Bambu Bar
Usually you don't type either:
- Bambu Bar finds printers on your network by the announcements they send.
- If Bambu Studio or OrcaSlicer on your Mac has used the printer, Bambu Bar reads the access code they saved. It only reads their settings, never changes them. The Mac App Store version asks you to choose the slicer's folder once.
- Slicer on another Mac? Drop that Mac's
BambuStudio.confonto the setup page.
Otherwise:
- Choose Enter address manually and type the IP address from the printer's screen. Bambu Bar reads the serial number from the printer.
- Type the 8-character access code.
- Click Connect.
Bambu Bar stores the code in your macOS keychain and only ever sends it to that printer, over an encrypted connection that checks the printer's certificate. Removing the printer deletes the code from the keychain. See the privacy policy.
When the code changes
The access code changes after a factory reset, and when it's renewed on the printer. Apps then show Access code rejected or can't connect:
- Read the new code on the printer's screen.
- Enter it in Bambu Studio and in Bambu Bar. If your slicer already has the new code, Bambu Bar offers to use it.
If the printer got a new IP address instead, Bambu Bar follows it on its own, from the printer's announcements.
Still can't connect?
The code and address are only part of it: the Mac and the printer must be on the same network, and macOS must allow local network access. See Bambu Studio not connecting and getting started.
Questions, answered
Where is the access code on a Bambu Lab P1S?
On the printer's screen under Settings → WLAN, next to the LAN Only Mode option.
Where is the access code on an X1 Carbon or H2D?
On the printer's screen under Settings → LAN Only (on some firmware, Settings → Network), with LAN Only Liveview and Developer Mode.
Does the access code change?
It changes after a factory reset and when it's renewed on the printer. Enter the new one in your apps.
Is it safe to give the access code to Bambu Bar?
Bambu Bar keeps it in your macOS keychain and sends it only to that printer, after checking the printer's certificate. Nothing goes to a server.
Read next
- Getting startedFrom download to your printer in the menu bar: requirements, installing, connecting, and the optional camera, controls and widgets.
- Bambu Studio not connectingPrinter missing from Bambu Studio, offline, or failing to connect on a Mac: the checks, in the order that finds the problem fastest.
- LAN mode explainedCloud mode, LAN Only, LAN Only Liveview and Developer Mode: four different settings, and which ones you actually need.
- Privacy: Local Printer Data and Website AnalyticsHow Bambu Bar handles local printer data, access codes, camera viewing, supporter licenses and website analytics.

Stop walking to the printer
Track Bambu Lab print progress, time left, temperatures, AMS filament and the live camera on your Mac. Get print alerts and desktop widgets without opening Bambu Studio.
Print progress, alerts and filamentmacOS 26+, Apple silicon & Intel Windows & Linux coming next