> For the complete documentation index, see [llms.txt](https://docs.bdb.ai/administrative-settings-4/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bdb.ai/administrative-settings-4/admin-panel-options/git-migration/migrating-an-api-service.md).

# Migrating an API Service

The users can import an exported API Service by using this feature.

* Navigate to ***Admin Module.***
* Click the ***GIT Migration*** icon from side navigation bar.​
* Click the ***Import File*** option that appears.

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/uVc3zxBn8yYxEEs9F3un/image.png" alt=""><figcaption></figcaption></figure>

* Click the ***Import*** option that appears on the next page.​

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/2HUIjWM1x25nH3qVef6l/image.png" alt=""><figcaption></figcaption></figure>

* The ***Migration-Document Import*** screen appears.
* Select the ***New VCS*** for the ***Version Control Configuration***.
* The ***Select a Module*** drop-down menu bar appears at the top-right side of the screen.

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/NGTSyHvDlR64PKtqt3yY/image.png" alt=""><figcaption></figcaption></figure>

* Select the ***API Service*** module using the ***Select a Module*** drop-down menu.
* A list of the available Published API Services appears on the left side of the page.

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/CEGOf034CqYDOFWQFpze/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark> Only the Published and exported API Services will be visible in the list.*
{% endhint %}

* Use the search bar to search for an API Service. (Ex. export)
* The customized list appears based on the searched term.

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/j3C0f5oaszbK5kwNQRQm/image.png" alt=""><figcaption></figcaption></figure>

* Select an API service and click to open the details.
* The various versions (if available in the GIT) of the selected API Service appear.

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/W45SPAj68POnktU6CdSs/image.png" alt=""><figcaption></figcaption></figure>

* Select a version using the checkbox.
* The following information gets displayed:
  * Data Source Names
  * Data Set Names
  * API Service Name
  * Category Name
* Click the ***Migrate*** option.

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/yVCjhUQxeF75I2QwZvrz/image.png" alt=""><figcaption></figcaption></figure>

* The ***Data Connector Details*** dialog box appears to configure a data connector.
* The user gets two choices:

&#x20;     ![](https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/BACL5dp3lz9vC2GXWqyz/image.png)

### Use an Existing Connector

Choose the **Use an Existing Connector** option -> Select a data connector from the drop-down menu -> Click the ***Save*** option.

&#x20;  ![](https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/7ejUmYU0Fo8uoty7F2uF/image.png)​

### Create a New Data Connector

Configure/Create a New Data Connector-> Click the ***Save*** option to save the new connector details.

&#x20; ![](https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/z3GAYjbMYMlYtrAlDEwn/image.png)

{% hint style="info" %} <mark style="color:green;">Please Note:</mark> *The user can choose **Skip** while importing a version of the concerned API Service. It is mandatory to fill in the details while migrating the API Service for the first time.*
{% endhint %}

* A notification message appears, and the selected API Service gets migrated to the Data Center module.

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/qsHeGU7GgyjUHM4mJ4El/image.png" alt=""><figcaption></figcaption></figure>

* Navigate to the ***Data Center*** module.
* Open the ***Data As API*** list.
* The imported API service gets added to the displayed list.

<figure><img src="https://content.gitbook.com/content/Bxju1xjBIIexZfulhFPA/blobs/6vzW3ANaWDNznNH6P8xD/image.png" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
*<mark style="color:green;">Please Note:</mark>*

* *The user can migrate the API service between two users, two spaces, or two servers. The Version control configuration settings should be the same for both users, spaces, and servers where the user attempts to migrate.*
* *The migrated API Service should contain the same category and the Template JSON as its source.*
  {% endhint %}
