# Deployment of Forms

Deployment helps to migrate forms with their dependencies (nested forms, actions, etc.) between organizations.

### Deployment

* Select forms (1) and click "Deploy" button (2). A deployment wizard page will be opened in a new tab (3).

<img src="/files/WemgoxTWdqliGRPKgajf" alt="" class="gitbook-drawing">

* At the first step in deployment wizard select Server (4), enter user credentials (5) and click "Next" button (6):

<img src="/files/BGYXCmvXEhUmCgKxQHXS" alt="" class="gitbook-drawing">

{% hint style="info" %}
Server: type of the target organization - Sandbox, Production/development or Other .&#x20;

Other is used when there are issues with login and you may need to manually enter your target organization Salesforce base URL. To get it go to your target org, switch to the classic mode. Base URL is the part which ends with "salesforce.com".
{% endhint %}

* System will search for references for the forms for a some time:

<img src="/files/De56WcYorZBfLk4LJeyo" alt="" class="gitbook-drawing">

* At the second step of deployment wizard check items to be deployed (7). Select necessary actions (8, see below) and click "Deploy" button (9).

<img src="/files/nPErTGJCtSBnFKOvjJfc" alt="" class="gitbook-drawing">

* Click "OK" in confirmation message.
* System will display a deployment progress:

<img src="/files/M6vnQXbTSkuKqJOD5QZk" alt="" class="gitbook-drawing">

* After deployment is finished, system will show results in "Status" column. And, if there were no errors or fails, system will show a success confirmation message:

<img src="/files/XKbEo8D3M0JqOIxdIlBj" alt="" class="gitbook-drawing">

Deployment is finished. Target organization should now have all deployed objects as far as their folder structure.

### Deployment actions

#### Object Does Not Exist in Target Organization

If the Form, and any referenced object (like Action) does not exist in target organization, they will have "Create" action available only.

After deployment is done, new Form is added to the target organization along with other referenced objects.

#### Object Exists in Target Organization

If the Form or any referenced object (like Action) already exists in the target organization, deployment wizard will allow user to choose between "Create" and "Overwrite" actions (10). "Overwrite" is offered by default:

<img src="/files/7Z6kMFwnqOKPRxOX0YYt" alt="" class="gitbook-drawing">

**Create**:

In this case, if user selects "Create" for any object, new object of proper type will be deployed to the target organization.

**Overwrite**:

If user selects "Overwrite", proper objects will be overwritten during deployment.


---

# 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.flexikanban.ai/components/forms/tricks-hints-and-best-practices/deployment-of-forms.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.
