> 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/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], 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
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 system provisioning package</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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
