> For the complete documentation index, see [llms.txt](https://docs.bluefletch.com/bluefletch-enterprise/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bluefletch.com/bluefletch-enterprise/product-guides/portal/emm-console/setup/installing-playbook-in-emm.md).

# Installing Playbook in EMM

## Feature: Playbook and EMM Together <a href="#feature-playbook-and-emm-together" id="feature-playbook-and-emm-together"></a>

### Overview <a href="#overview" id="overview"></a>

This is to explain how to integrate Playbook MDM with an EMM Policy.

The general steps will allow for creating an EMM Policy that installs the enterprise installer application, Playbook Agent, during device enrollment, then allow for Playbook Agent to manage application installation via Deployment Groups and Playbooks.

**Note** This assumes your organization has access to the *EMM Console* and *Playbook MDM*.

### Flow <a href="#flow" id="flow"></a>

1. Create a Playbook and Deployment Group. This Deployment Group will be the initial group that devices will be assigned to. Make note of the Deployment Group ID.
2. Get your Organization ID.
3. Create an EMM Policy.
4. Within the EMM Policy, go to **Account & Application** tab. Add the application Playbook. The Package Name will be 'com.bluefletch.ems.staging.playbook'. (STAGING SYSTEM ONLY, needs updated for Production).
5. Edit the Application, click on 'Managed' configurations.
6. Within the Manage configurations, set the Organization Id and Deployment Group Id. Make sure to give the Managed Configuration a name.
7. Go to the EMM Policy **Provisioning** Tab.
8. Enter a 'Title', 'Description', and set the Package Name to 'com.bluefletch.ems.staging.playbook'. (STAGING SYSTEM ONLY, needs updated for Production).
9. Make other Policy changes as desired.
10. Apply now.
11. Create an Enrollment Token and enroll devices.

#### Setup Actions Example <a href="#setup-actions-example" id="setup-actions-example"></a>

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FrKIovCIeSZehDeO1cHhd%2Fplaybook_emm_setupactions.png?alt=media&amp;token=3b4bd643-141e-4bba-8c3d-83ad458a7d5e" alt="" width="563"><figcaption></figcaption></figure>

#### Managed Configurations Example <a href="#managed-configurations-example" id="managed-configurations-example"></a>

<figure><img src="https://799338798-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSxhNrDkmDAkv7QEWfOIh%2Fuploads%2FNUltJvMiD0IRRc6ZebSs%2Fplaybook_managed_config.png?alt=media&amp;token=28203a0d-56c6-41f5-b5c9-b52160c3c254" alt="" width="563"><figcaption></figcaption></figure>


---

# 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.bluefletch.com/bluefletch-enterprise/product-guides/portal/emm-console/setup/installing-playbook-in-emm.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.
