# Pair an iPad with The Terminal (/en/get-started/pair-an-ipad)

<BeforeYouStart>
- Making a code needs the <UI>Manage devices</UI> permission in Helm. The owner has it, and managers have it by default.
- Have the iPad with The Terminal installed, connected to the internet. A new iPad, or one that was reset, opens on <UI>Sign in</UI>.
- Know which branch the iPad will work at, and what it will do there, for example <UI>Register</UI>.
</BeforeYouStart>

## Watch the steps [#watch-the-steps]

### In Helm [#in-helm]

<Walkthrough device="browser" url="helm.tryportus.online/devices">
<WalkStep image="/articles/pair-an-ipad/helm-en-1-devices.png" spot="85.2,4.6,11.5,5.5" title="Pair a device">
On the Devices page, select **Pair a device**.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/helm-en-2-form.png" spot="25.8,19.5,48.4,9.8" title="Choose the branch">
Choose the branch where the iPad will work.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/helm-en-3-filled.png" spot="26.1,33.7,24.1,10.3" title="Choose its job">
Under What this device does, choose **Register** to sell at the counter.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/helm-en-3-filled.png" spot="63,85,10.9,5.5" title="Show the code">
Optional: name the device. Then select **Show the code**.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/helm-en-4-code.png" spot="32.8,29.8,34.4,20" title="The code">
Twelve letters and numbers, valid for 48 hours. Keep this open while you go to the iPad.
</WalkStep>
</Walkthrough>

### On the iPad [#on-the-ipad]

<Walkthrough device="ipad">
<WalkStep image="/articles/pair-an-ipad/en-1-signin.png" spot="68.6,34.8,27.6,7.6" title="Activation code">
On The Terminal's Sign in screen, select **Activation code**.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/en-2-code.png" spot="68.6,61.4,27.6,14.6" title="Scan or type it">
Select **Scan the code** or **Type the code**.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/en-3-checking.png" spot="68.6,45.2,27.6,11.6" title="It checks the code">
After the twelfth character, The Terminal checks the code with Portus.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/en-4-confirm.png" spot="68.6,44.5,27.6,21.6" title="Check its job">
The store, the branch and what the iPad will become.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/en-4-confirm.png" spot="68.6,66.8,27.6,7.6" title="Activate">
If it's right, select **Activate**.
</WalkStep>

<WalkStep image="/articles/pair-an-ipad/en-5-passcode.png" spot="66.8,16.2,31.2,61.6" title="Ready to sign in">
The iPad is paired. Each person now signs in with their passcode.
</WalkStep>
</Walkthrough>

## Make the code in Helm [#make-the-code-in-helm]

<Steps>
<Step title="Open the Devices page">
<Path to="Settings > Devices" />

The page is called <UI>Devices</UI> and lists the iPads already paired in your branches.
</Step>

<Step title="Open Pair a device">
Select <UI>Pair a device</UI>.
</Step>

<Step title="Choose the branch">
Under <UI>Branch</UI>, choose where the iPad will work. With one branch, Helm chooses it for you.
</Step>

<Step title="Choose what the device does">
Under <UI>What this device does</UI>, choose one. Each card says what that job is for. The list shows only the jobs your store uses.

<Options>
<Option label="Register">
Take orders and payments at the counter.
</Option>

<Option label="Orders hub">
See and manage every open order.
</Option>

<ForLane lanes="fragrance_cosmetics retail_abaya retail_fashion health_beauty_shop pharmacy_beauty">
<Option label="Fulfilment">
Pick, pack and hand over orders, and take returns.
</Option>
</ForLane>

<Option label="Manager">
The shift, approvals and the day's numbers.
</Option>

<Option label="Personal phone">
One person's own phone.
</Option>
</Options>

Other jobs can appear, depending on what your store uses.

<ForLane lanes="coffee fast_food full_service_restaurant">
For example <UI>Station display</UI>, <UI>Pickup window</UI>, <UI>Expo</UI>, <UI>Drive-thru</UI>, <UI>Customer display</UI> and <UI>Host stand</UI>. A <UI>Station display</UI> also asks <UI>Which station</UI>.
</ForLane>

<ForLane lanes="salon_spa">
For example <UI>Host stand</UI> and <UI>Front desk</UI>.
</ForLane>
</Step>

<Step title="Name it, if you like">
Optional: under <UI>Device name</UI>, type a name, for example "Front counter iPad".
</Step>

<Step title="Show the code">
Select <UI>Show the code</UI>. Helm shows <UI>Enter this code on the device</UI>, the branch and job, the code in three groups of four, and <UI>Expires in</UI> with the time left.

If you signed in a while ago, Helm first asks <UI>Confirm it’s you</UI>: enter your 6-digit code and select <UI>Confirm</UI>. <UI>New code</UI> asks the same.

Helm's window lists three steps and says to tap "Pair with a branch". On the iPad, that button is called <UI>Activation code</UI>.
</Step>
</Steps>

## Enter it on the iPad [#enter-it-on-the-ipad]

<Steps>
<Step title="Open The Terminal">
Open The Terminal on the iPad.
</Step>

<Step title="Open Activation code">
On <UI>Sign in</UI>, tap <UI>Activation code</UI>. To go straight to the camera, tap <UI>Scan a code</UI> instead.
</Step>

<Step title="Choose how to enter it">
The screen <UI>Sign in with a code</UI> opens. Tap <UI>Scan the code</UI> or <UI>Type the code</UI>.
</Step>

<Step title="Scan or type the code">
Point the camera at the code, or enter it on the keyboard. Hyphens and capitals are optional. After the twelfth character, the iPad shows <Message>Checking the code…</Message>
</Step>

<Step title="Check this device's job">
The screen <UI>Check this device’s job</UI> shows the store and branch, <UI>This device will become:</UI> with the job, the device name and the branch, and <Message>Portus checked the code</Message>.
</Step>

<Step title="Activate">
If it's right, tap <UI>Activate</UI>.
</Step>
</Steps>

<ForLane lanes="fragrance_cosmetics">
<Example>
At Nostalgie, the owner makes a code for the Sharq boutique branch as a Register, then types it on the new iPad. The iPad shows "Nostalgie · Sharq boutique" and Register, and after Activate it asks for a passcode.
</Example>
</ForLane>

<WhatHappensNext>
- The iPad opens on <UI>Enter your passcode</UI>. Each team member signs in there with their own passcode.
- In Helm, the iPad appears on the <UI>Devices</UI> page with its branch, its job and <UI>Paired</UI> with the date. Select <UI>Done</UI> to close the code.
- The code is used up. It can't pair a second iPad.
- If the iPad has its own name, Helm lists it by that name. To change the name or the branch later, select <UI>Edit</UI> on its row.
</WhatHappensNext>

<Screenshot src="/articles/pair-an-ipad/helm-en-4-code.png" alt="The Pair a device window in Helm showing the activation code for Sharq boutique, Register, with the time left and three steps" caption="The code in this picture was used to pair a demo iPad and no longer works." title="The code to enter" url="helm.tryportus.online/devices" width={1280} height={800}>
<Hotspot x={50} y={42} title="The code">
Twelve letters and numbers. Enter it on the iPad with or without the hyphens.
</Hotspot>

<Hotspot x={50} y={47.8} title="Expires in">
The time left. A code lasts 48 hours.
</Hotspot>

<Hotspot x={63.2} y={77.4} title="New code">
Makes a fresh code if this one expired or was given out by mistake.
</Hotspot>

<Hotspot x={70.8} y={77.4} title="Done">
Close it once the iPad is paired.
</Hotspot>
</Screenshot>

<Note>
The code works once. A new code signs out any device already paired with the old one. To give an iPad a different job later, make a new code for it and enter it on the iPad: until the new code is accepted, it keeps its job.
</Note>

<Note>
<UI>Reset this device</UI>, under the passcode keypad, needs a manager's approval. It erases only that iPad's data: <Message>The device is unpaired and everything saved on it is removed. You will need a device code to pair it again.</Message> Helm still lists the iPad afterwards; select <UI>Forget</UI> on its row to remove it.
</Note>

<IfSomethingGoesWrong>
<Problem message="That code didn't work. It may have been used, reset or expired. Ask a manager for a new one.">
The code is wrong, already used, replaced by a new code, or older than 48 hours. The boxes clear. Check the code and type it again, or make a new one in Helm.
</Problem>

<Problem message="This code is already used. Ask a manager for a new one.">
Portus accepted the code, but this iPad refused to switch to it, so the code is used up. It happens when an iPad that already worked for another store still has cash records to file. Deal with the cause below, then make a new code in Helm.
</Problem>

<Problem message="Close the day on this device first. This code is now used: once the day is closed, ask a manager for a new one.">
This iPad worked for another store and its day is still open. Close the day on it, then pair it with a new code.
</Problem>

<Problem message="This device's cash records are filed when the business day ends. Try again after that, with a new code from a manager.">
This iPad's cash records from its last store are filed when that business day ends. Try again after that with a new code. When you sign in with email instead, the iPad says <Message>This device's cash records are filed when the business day ends. Choose this workspace again after that.</Message>
</Problem>

<Problem message="This device needs a manager before it can be reset.">
The iPad can't leave its pairing yet. A manager checks it first.
</Problem>

<Problem message="Codes never use 0, O, 1 or I. Check that character.">
You typed a character that never appears in a code. Look again at that character in Helm.
</Problem>

<Problem message="A device code has 12 letters and numbers.">
The code is too short. Type all twelve characters.
</Problem>

<Problem message="That QR is not an activation code.">
The camera read a QR code that isn't a Portus activation code. Scan the code from Helm, or select <UI>Type the code</UI>.
</Problem>

<Problem message="No internet. Connect to check the code.">
The iPad needs the internet to check the code. Connect it, then try again.
</Problem>

<Problem message="Too many attempts. Wait a minute, then try again.">
Wait a minute before you enter the code again.
</Problem>

<Problem message="The code has expired. Ask for a new code.">
Helm shows this when the 48 hours are over. Select <UI>New code</UI> and use the new one.
</Problem>

<Problem message="Could not save. Try again.">
Helm couldn't make the code. A branch that only sells online can't have a register: choose a store branch, then select <UI>Show the code</UI> again.
</Problem>

<Problem message="This device was reset">
The iPad says <Message>This device was reset in Helm. Pair it again with a new device code.</Message> Someone selected <UI>Forget</UI> or <UI>New code</UI> for it in Helm. Make a new code and pair it again.

<Screenshot src="/articles/pair-an-ipad/en-x-unassigned.png" alt="The Terminal's Sign in screen with the notice This device was reset" title="A device that was reset in Helm" device="ipad" width={1366} height={1024}>
<Hotspot x={82.4} y={37.2} title="This device was reset">
It needs a new code from Helm. Select Activation code to enter it.
</Hotspot>
</Screenshot>
</Problem>

<Problem message="You can't find Devices in Settings">
Your role doesn't have <UI>Manage devices</UI>, so Helm hides <UI>Devices</UI>. Opened by a direct link, the page says <UI>Devices need the device permission</UI>. Ask the owner to add it to your role.
</Problem>
</IfSomethingGoesWrong>