> For the complete documentation index, see [llms.txt](https://docs.medcrypt.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.medcrypt.com/medcrypt-documentation/guardian/get-started/quickstart-process/provision-your-first-device.md).

# Provision your first device

## Overview

This tutorial uses a combination of command line and UI steps for quick device provisioning. For comprehensive coverage of all provisioning methods, see [Begin device provisioning](/medcrypt-documentation/guardian/understand-device-provisioning/begin-device-provisioning.md), which covers command line, UI, and API approaches in detail.

### Prerequisites

Make sure you have the following:

* Guardian Cloud account
* Provisioning package for the system
* A test device or the mcguard\_provision utility
* Basic device information (component name, system ID, hardware ID)

### Steps to provision

<details>

<summary>Step 1: Generate a provisioning request (command line)</summary>

On your device or using mcguard\_provision:

```bash
# Generate provisioning request offline
./mcguard_provision \
  --mode provision \
  --component test_component \
  --system test_system \
  --hardware-id test_device_001 \
  --offline \
  /path/to/initial/provisioning/profile
```

This creates two files:

* `test_component_test_system_test_device_001.mcpr` (can be uploaded)
* `test_component_test_system_test_device_001.mcpi` (keep secure, never upload)

</details>

<details>

<summary>Step 2: Upload provisioning request to Guardian Cloud</summary>

1. Sign in to **Guardian Cloud**
2. Click **Provisioning** item on the sidebar
3. Click the **Upload provisioning request** button.
4. Select your `.mcpr` file.
5. Verify the device information shown
6. Click **Submit.**

</details>

<details>

<summary>Step 3: Download the certified profile</summary>

1. Wait for processing (usually 1-2 minutes)
2. Check the status in your dashboard
3. Download the .mcp file when ready
4. Transfer the .mcp file back to your device

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.medcrypt.com/medcrypt-documentation/guardian/get-started/quickstart-process/provision-your-first-device.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
