# Add and attach a surface

> Discover and adopt a hardware panel, create an iPad or Custom Web View surface, and attach it to a Position.

A surface is an interface, such as a hardware panel, browser session, or iPad, attached to a Position. The Position defines the operator workspace; its attached surfaces make that workspace's buttons and displayed state available on the interfaces the operator uses.

This guide follows the shortest hardware path: discover a Stream Deck Studio, adopt it, and attach it to an existing Position. It also explains how to create an iPad or custom browser surface when no discoverable panel is involved.

## Before you begin

- [Create the Position](/docs/buttons/v1.10/positions/create-a-position) whose buttons the surface should display.
- Connect a Stream Deck Studio directly or through the appropriate Buttons surface service, and keep it reachable from the Buttons system.
- Make sure your license has room for another enabled surface. The counter beside **Surfaces** shows current use against the licensed limit.

![The Surfaces header showing a 4/15 licence counter next to the list view controls and the Add button](https://bitfocus.io/api/docs-media/file/surface-license-counter-1.png?prefix=docs-media)

- Keep the physical panel nearby so you can confirm its identity.

## Discover and adopt a hardware surface

1. Open **Connect → Surface**.
2. Select **Discovered surfaces** below the Surfaces list. The number in brackets shows how many devices Buttons has found that aren't adopted yet.

![The Discovered surfaces list open over the Surfaces page, with a search box and three devices, each showing its hostname, network address, serial number and model](https://bitfocus.io/api/docs-media/file/surfaces-discovered-list-1.png?prefix=docs-media)

3. Find the panel by its model, hostname, network address, or serial number, or type any of them in the list's search box. A recently discovered device can display a **New** indicator.
4. Select the panel.
5. Select **Adopt** at the bottom of the list.

![One discovered Stream Deck Studio selected, with 1 Selected, Adopt and Adopt → Create Position at the bottom of the list](https://bitfocus.io/api/docs-media/file/adopt-menu-1.png?prefix=docs-media)

Buttons adds the panel to **Surfaces** and opens its settings. A discovered device marked **Not supported** cannot be adopted; do not substitute a different model manually.

![A Stream Deck Studio's settings, with Label, Tags, Type and Serial number at the top, then Connection (Address, Port), Settings (Assigned to Position, Device orientation, Viewing Angle), Appearance (Brightness) and Firmware, and Save, Identify device, Reboot surface and Delete Surface at the bottom](https://bitfocus.io/api/docs-media/file/surface-settings-1.png?prefix=docs-media)

You can select and adopt several supported panels together: drag across them, hold **Shift** to select a range, or on macOS hold **Cmd** to add or remove one at a time. **Adopt → Create Position** is useful when the Position does not exist yet, but this guide attaches one panel to the Position you prepared earlier.

![Three discovered surfaces selected at once, with 3 Selected beside Adopt and Adopt → Create Position at the bottom of the list](https://bitfocus.io/api/docs-media/file/adopt-multiple-surfaces-1.png?prefix=docs-media)

## Identify and label the panel

1. In the adopted surface's settings, turn on **Identify device**.
2. Confirm that the intended physical panel identifies itself.
3. Enter a **Label** that distinguishes the panel by its location or use.

Identification is available only for surface models that support it. If several similar panels were discovered, confirm the physical device before changing its assignment.

## Attach the surface to the Position

1. Under **Assigned to Position**, select the Position the surface should use. You can type in the list to search for it. The list also offers **Create a new position**, and, once the surface is attached, **Go to position editor** and **Clear assignment**.

![The Assigned to Position list open, with a search box, Go to position editor, Clear assignment, Create a new position, and the existing positions with the current one checked](https://bitfocus.io/api/docs-media/file/assign-position-menu-1.png?prefix=docs-media)

2. Select **Save**.

The surface is now attached to the Position. Buttons automatically places a newly attached surface on that Position's canvas; open the Position editor when you need to adjust how multiple surfaces are arranged around the same workspace.

<callout color="green" title="Tip">
  If you want to mount the unit at an angle or upside down, use **Device orientation** and, on a Stream Deck Studio, **Viewing Angle** to make its layout match the installation, see [Set device orientation and verify button placement](/docs/buttons/v1.10/surfaces/orientation).
</callout>

## Update a Stream Deck Studio's firmware

Buttons includes firmware for the Stream Deck Studio. When a connected Studio runs an older version, its settings show **Firmware update available**, with the current and the offered version, such as `< 2.02.002`. The surface list marks it with a firmware icon too. A Studio that already runs the same or a newer version is offered nothing.

Firmware 2.02.002, offered from Buttons 1.8.11, improves the frame rate, adds Stream Deck Pedal support, protects against random data, and fixes how button events are queued. To use a Pedal, first install Pedal firmware 2.0.4.2 with the Stream Deck app.

1. Plan a moment when the Studio isn't in use: its controls go offline during the update.
2. In the surface's settings, select **Upgrade firmware 1 / 1**.
3. Wait while the Studio updates, reboots and reconnects. This can take up to two minutes. Don't unplug it meanwhile.
4. Check that **Firmware upgrade successful!** appears and the surface shows as connected again.

## Create an iPad or custom browser surface

Browser surfaces are created rather than discovered. Before opening one on another device, configure the packaged Buttons Watchdog to accept network connections:

<callout color="yellow" title="Warning">
  **All interfaces (0.0.0.0)** makes the Editor listen on every network interface. Use it only on a network where access to Buttons is appropriately restricted.
</callout>

1. In Buttons Watchdog, open the secondary menu beside **Launch Editor UI**, then choose **Environment Settings**.
2. Set **Editor Listen Address** to **All interfaces (0.0.0.0)**.
3. Select **Save and restart**.

![The Watchdog Environment Settings dialog with Editor Listen Address set to All interfaces (0.0.0.0) and a Save and restart button](https://bitfocus.io/api/docs-media/file/watchdog-environment-settings.png?prefix=docs-media)

4. Open **Connect → Surface**.
5. Select **Add**.
6. Choose **iPad Mini**, or choose **Custom Web View** for a browser-based surface with your own grid and button dimensions. You can also type the model in the search box.

![The Add surface dialog with a search box, USB Relay and Custom Web View under Buttons, iPad Mini under Apple, the Elgato models below, and the remaining licensed surfaces shown at the bottom](https://bitfocus.io/api/docs-media/file/add-surface-dialog-1.png?prefix=docs-media)

7. Enter a **Label**.

![The Add surface dialog for an iPad Mini, with the Label set to iPad and a Create surface button](https://bitfocus.io/api/docs-media/file/create-ipad-surface-1.png?prefix=docs-media)

8. For a Custom Web View surface, configure its **Grid**, button **Resolution**, **Gap**, **Border Radius**, and surface **Padding**.

![The Add surface dialog for a Custom Web View surface, with Grid, Resolution, Gap and Border Radius under Buttons, Padding under Surface, and the resulting total width and height](https://bitfocus.io/api/docs-media/file/custom-surface-config-1.png?prefix=docs-media)

9. Select **Create surface**.
10. Under **Assigned to Position**, choose the Position, then select **Save**.
11. Select **Open iPad view** or **Open device web UI**. You can also scan the QR code beside the settings on the intended device, or select **Copy** to copy its URL.

![The iPad surface settings showing a Waiting for surface notice, and a panel on the right with a QR code, the surface URL with a Copy button, and Open iPad view](https://bitfocus.io/api/docs-media/file/ipad-surface-settings-1.png?prefix=docs-media)

![The top-left corner of the iPad view in a browser, with NO POSITION and the surface label on the first button and empty buttons around it, until the surface is attached](https://bitfocus.io/api/docs-media/file/ipad-surface-view-1.png?prefix=docs-media)

The displayed address uses the Buttons address from your current browser. If it contains `localhost`, it refers to the device on which the URL is opened and will not reach a Buttons server on another computer. Open Buttons through a server name or IP address reachable from the iPad or browser device before copying the URL or scanning the QR code.

A Custom Web View surface's grid determines how many buttons it displays, while its dimensions and spacing determine how those buttons fit the browser area. Return to the surface settings if the rendered layout does not fit the intended touchscreen.

![A 12 by 12 Custom Web View surface filling a browser window, its buttons sized by the configured resolution, gap, and padding](https://bitfocus.io/api/docs-media/file/custom-surface-view.png?prefix=docs-media)

## If you get stuck

| What you see | What to try |
| --- | --- |
| The panel is absent from **Discovered surfaces**. | Confirm that the panel or its surface service is powered, connected, and reachable on the relevant network, then reopen the discovered list. |
| The discovered panel says **Not supported**. | Do not adopt it as another model. Check the supported surface models available under **Add** or confirm compatibility with Bitfocus. |
| **Upgrade firmware** shows an error. | Check that the Studio is still connected, then select **Upgrade firmware** again. |
| An iPad or custom URL opens **Surface not found** or cannot connect. | Confirm that the URL contains the reachable Buttons server address and that the surface still exists and is enabled. |

## Where to go next

- [Set device orientation and verify button placement](/docs/buttons/v1.10/surfaces/orientation), for mounting a unit at an angle or upside down.
- Install [USB Relay](/docs/buttons/v1.10/integrations/usb-relay/windows) ([macOS](/docs/buttons/v1.10/integrations/usb-relay/macos), [Linux](/docs/buttons/v1.10/integrations/usb-relay/linux), [Raspberry Pi](/docs/buttons/v1.10/integrations/usb-relay/raspberry-pi)) if a Stream Deck is physically attached to a different machine than the one running Buttons.
- [Create a Position](/docs/buttons/v1.10/positions/create-a-position) for another operator workspace before attaching more surfaces.
