> For the complete documentation index, see [llms.txt](https://docs.cloudio.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudio.io/working-with-patches/working-with-patches/role-patch.md).

# Preparing a role patch

Role level patches are used to migrate all the pages, data sources and other UI components associated with a role from one instance of the CloudIO platform to another.

{% hint style="info" %}
**Note**: Role migration does not impact underlying db objects.
{% endhint %}

To prepare a role patch,

1. On the upper right corner of the CloudIO homepage, click ![](/files/-M-mqQrhvyhl1QdlDK3f) . The **Navigation** page is displayed.

![](/files/-M-nn3fQAk52BGEJLA3m)

&#x20;2\. Under Administration, click **Manage Roles.** The **Manage Roles** page is displaye&#x64;**.**

![](/files/-M-nriGyVqWFWzvFq-f4)

&#x20;3\. On the required role, click ![](/files/-M-nw_oOUqs7qZm9iLXe) .The edit page is displayed.

![](/files/-M2D-LMBIaiW2Nyk67fv)

&#x20;4\. If required, assign one or more of the following components to the role through the respective tabs/sections:

* Datasources
* Java Snippets
* HTML Requests
* HTML Templates
* Workflow Nodes
* Workflow Definitions
* Users&#x20;
* Pages

&#x20;5\. On the upper right corner, from the **Actions** list, select **Prepare Patch**. A confirmation box is displayed.

![](/files/-M-oAm8ebcripNz9l5RN)

&#x20;6\. Click **Yes**. The processing for your patch preparation request will be initialized.

&#x20;7\. Click **Okay**. The required role patch is prepared. **OR** To view the details of the patch status, click **Go to patches screen** and click **Download**. The list of patches that available for downloading is displayed.

![](/files/-M-n5h83689T2EqQTwtS)

![](/files/-M-n7f9eVRMk99es5Wja)
