# Migrating an API Service

### **Migrating API Service**                                   &#x20;

* Navigate to the ***Admin Module.*** &#x20;
* Click the ***Menu*** icon to open the admin menu panel.                                                                          &#x20;

![](/files/msdyPbGwNWMxJK6yMo9A)

* Click the ***GIT Migration*** option from the Menu Panel.

&#x20;     ![](/files/dbTtRJlxPzjvzIn6H945)

* Click the ***Import File*** option that appears. Click the ***Import File*** option.&#x20;

&#x20;    ![](/files/H6BxeytOlwZPH9miXpZq)                                                   &#x20;

* Click the ***Import*** option that appears on the next page.&#x20;

&#x20;      ![](/files/8HggvRtR851I1cx8epgp)

* 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.     &#x20;

![](/files/s1r063aeB9BhauZ5AwaM)

* 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.   &#x20;

![](/files/zWw5V3tp4duKXdgZVKDk)

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

* Use the search bar to search for an API Service. (Ex. Mongo)
* The customized list appears based on the searched term.                                                                         &#x20;

![](/files/b2OM57riKZY3hvivrFWR)

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

![](/files/7sit28SMYuGFTTHTEw0i)

* 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.                                                 &#x20;

![](/files/0XoqKayNAX2tDefgwQKC)

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

&#x20; ![](/files/hf3XJsakFR6mBpgdTsgA)  &#x20;

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

&#x20;     ![](/files/LueydYhtJI3zquOrpXhP)

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

&#x20;     ![](/files/XZfMGaEKkgk4DbzjEhZu)                                                               &#x20;

{% 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.*&#x20;
{% endhint %}

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

![](/files/srXRcOU1tKOItvD07XX8)

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

![](/files/BHcLGY1vFQdVYOFEBgX7)

{% 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 %}


---

# Agent Instructions: 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:

```
GET https://docs.bdb.ai/bdb-documentation/core-platform/platform-administration/admin-panel-options/git-migration/migrating-an-api-service.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
