# Migration Import

## Migrate from Melonly

Easily import your Melonly player logs to convert them to CMS player records!

### 1. Create a Melonly API Key

<details>

<summary>1. Create a Melonly API Key</summary>

On the Melonly dashboard select **Settings** > **Panel** > **Server API Tokens** > **Create Token**

Create and copy the API token to be used with Sonoran CMS.

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2Fy4vrrZLZhcJpIKZzq6w6%2Fimage.png?alt=media&#x26;token=fcf8ac50-103a-40f6-bd6c-acd42e5dc4f5" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2F5OFrx6UAs7P92VdfIY3v%2Fimage.png?alt=media&#x26;token=240c7e22-98ae-4b36-9739-497d9f6213e9" alt=""><figcaption></figcaption></figure>

</details>

### 2. Import into CMS

<details>

<summary>2. Import into CMS</summary>

Select **Import** on the side panel > **Melonly** > paste your Melonly API Token > **Initiate Import**

Once started, the CMS will begin importing your Melonly player logs, including any custom log types. After a few minutes, your Melonly logs will begin to display in the activity feed and&#x20;

<div><figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FAYgCRWLaDuLLjNU1T3Ys%2Fimage.png?alt=media&#x26;token=d0554094-70ea-43f5-8ac7-2abbc15ad6cb" alt=""><figcaption></figcaption></figure> <figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FzJWqN4RG3MOFkzGX5fmU%2Fimage.png?alt=media&#x26;token=2563bce5-ec6d-47dc-b115-8f905a4d440d" alt=""><figcaption><p>CMS: Import Melonly Logs</p></figcaption></figure></div>

</details>

### 3. Custom Log Types

<details>

<summary>3. Custom Log Types</summary>

Both Melonly and Sonoran CMS allow for the creation of custom player log/record types. Because Melonly does not expose the record type labels in their API these logs will be imported as `Unknown Custom Log Type`.

You can [rename these custom log types from Melonly properly in the Moderation panel](https://docs.sonoransoftware.com/cms/integration-capabilities/er-lc-game-panel/moderation#custom-record-types).

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2FCtB0CwGzyzVFYYsoBVOa%2Fimage.png?alt=media&#x26;token=9f9fc0bf-4f34-4bf3-8910-74c9802a77cb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://3006847189-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MdBOa9OFjtdqw9FdXli%2Fuploads%2F2HWFTPFw4mQ0EQ6fSIur%2Fimage.png?alt=media&#x26;token=9cf701fe-edb4-4ad4-824a-8099db187452" alt=""><figcaption></figcaption></figure>

</details>
