> For the complete documentation index, see [llms.txt](https://docs.coherent.global/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.coherent.global/assistant/shell/import-inputs.md).

# Import Inputs

## Overview

The Import Inputs function allows users to import data from a previous version of the shell, or from a mapped file with a similar input structure.

## Setting Up Imports

In order to allow import inputs, the Shell file needs to be set up as part of the Shell setup process. An additional option has been added to the setup for Shell files below:

<figure><img src="/files/oHASr5jAlK5UERDMTKEk" alt="" width="353"><figcaption></figcaption></figure>

The options available to be selected are as follows:

* Clear single cell inputs - Which will clear any single input fields in the target file prior to import
* Clear array inputs - Which will clear any array input areas in the target file prior to import
* Highlight empty cells - Which will highlight with a red border any empty cells that were not filled as part of the import, for example where a new field has been implemented in the target file that does not exist in the source
* Allow partial array match - Which will allow for array inputs to be imported where available, for example where there has been a new column or row introduced in the target file that does not exist in the source file

Once the Shell file has been updated, the import inputs button will be available to users to import relevant inputs.

## Using the Import Inputs Function

When using the target Shell file, users can select the Import Inputs button in the top-right of the Coherent Assistant screen and select a file to import into the Target.

<figure><img src="/files/OiSyCXacO0Tvmzc7oC0v" alt="" width="352"><figcaption></figcaption></figure>

After selecting a file to import, a confirmation screen will appear and display warnings related to the configuration of the import inputs function.

When a user proceeds with the import, the relevant input fields that are mapped will be imported.

{% hint style="danger" %}
Note: Where inputs have been removed in single cells or arrays, the import will not successfully complete. An enhancement to this functionality is currently being developed to allow for imports from the source where the field is not available in the target file.
{% endhint %}

This import functionality currently allows the following:

* Inputs imported where there is an exact match between xInputs in the source and target
* Inputs imported where there are new fields in the target that do not exist in the source
* Inputs imported where there are changes in the position of the fields in the target compared to the source


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.coherent.global/assistant/shell/import-inputs.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.
