> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ghostable.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Link Your Device

> Register this Mac as a trusted Ghostable device so it can decrypt environments.

<Card title="Read the shared device model" icon="lock" href="/fundamentals/v2/core-objects/devices">
  Understand what a Ghostable device is before you register this Mac.
</Card>

## When This Appears

If the desktop app detects that the current session does not have a linked device, it blocks
environment workflows and opens **Link This Device**.

## Fill in the Device Details

The form asks for:

* **Device name**
* **Platform**
* **Client**, which is fixed to `Desktop`

You can accept sensible defaults or rename the machine if you want a cleaner label in Ghostable.

{/* ghostable:screenshot-output desktop-link-your-device-form:start */}

<img className="block dark:hidden w-full" src="https://mintcdn.com/ghostable/BOl2AUG1DFr1k8ob/images/generated/screenshots/ghostable-desktop/device-link-form-light.png?fit=max&auto=format&n=BOl2AUG1DFr1k8ob&q=85&s=2233a901d284b77b3a37fcb2158959ea" alt="Ghostable desktop device-link form showing the device name, platform, Desktop client label, and Link Device button." width="915" height="720" data-path="images/generated/screenshots/ghostable-desktop/device-link-form-light.png" />

<img className="hidden dark:block w-full" src="https://mintcdn.com/ghostable/BOl2AUG1DFr1k8ob/images/generated/screenshots/ghostable-desktop/device-link-form-dark.png?fit=max&auto=format&n=BOl2AUG1DFr1k8ob&q=85&s=9f16fc274bd0402b8f63e6091339382d" alt="Ghostable desktop device-link form showing the device name, platform, Desktop client label, and Link Device button." width="915" height="720" data-path="images/generated/screenshots/ghostable-desktop/device-link-form-dark.png" />

## Link the Mac

Click **Link Device**. The desktop app creates the local key material for this device, stores the
private material in the Mac's secure storage, and registers the public identity with Ghostable.

## If Access Is Still Pending

A newly linked device may still need a key re-share before it can read existing environment data. In
that state, the app will show a waiting experience instead of letting you open decrypted values.

Use one of these paths:

* Ask an authorized teammate to fulfill the key re-share request.
* If you are authorized and already have another trusted device, fulfill it from there.
* Fall back to the CLI command shown in the app when needed.

{/* ghostable:screenshot-output desktop-key-reshare-pending:start */}

<img className="block dark:hidden w-full" src="https://mintcdn.com/ghostable/BOl2AUG1DFr1k8ob/images/generated/screenshots/ghostable-desktop/environment-key-reshare-pending-light.png?fit=max&auto=format&n=BOl2AUG1DFr1k8ob&q=85&s=7e10dc9a0180aae5e00d0d6225ca35aa" alt="Ghostable desktop environment window showing the Key Access Pending state while the device still needs a key re-share." width="1074" height="352" data-path="images/generated/screenshots/ghostable-desktop/environment-key-reshare-pending-light.png" />

<img className="hidden dark:block w-full" src="https://mintcdn.com/ghostable/BOl2AUG1DFr1k8ob/images/generated/screenshots/ghostable-desktop/environment-key-reshare-pending-dark.png?fit=max&auto=format&n=BOl2AUG1DFr1k8ob&q=85&s=9319e0ca6b4785d272be584eb9f144a0" alt="Ghostable desktop environment window showing the Key Access Pending state while the device still needs a key re-share." width="1074" height="352" data-path="images/generated/screenshots/ghostable-desktop/environment-key-reshare-pending-dark.png" />

## Continue

<CardGroup>
  <Card title="Troubleshoot access issues" icon="circle-info" href="/desktop/v1/help/troubleshooting">
    Fix common link, auth, and pending key-access problems.
  </Card>

  <Card title="Open environments" icon="key" href="/desktop/v1/daily-work/environments-and-variables">
    Start browsing variables once the device is trusted and key access is available.
  </Card>
</CardGroup>
