# Import Sample Libraries

{% hint style="warning" %}
The Prep tab is deprecated and no longer available. For run planning and sequencer integration, see the [Run Planning](/basespace/sequence/plan-runs.md) section.
{% endhint %}

## Import Sample Libraries

#### Use the following instructions to import libraries to the Libraries page from a CSV file.

This method is appropriate for the following:

* Prepared libraries
* Samples with assigned indexes If your samples do not have indexes assigned and are not in libraries, use [Import Biological Samples](/basespace/sequence/plan-runs/prep-tab/import-biosamples-prep-tab.md).

1. On the Libraries page, select Import.
2. \[Optional] Create a CSV file as follows.
   1. Select the spreadsheet image to download a template.
   2. For each sample, enter the following information.
   3. Sample ID—The unique sample ID.
   4. Name—A descriptive name for the biological sample.
   5. \[Optional] Species—The appropriate species.
   6. \[Optional] Project—The name of the project to save samples to. Although optional at this step, a project is required later to store the data.
   7. NucleicAcid—The nucleid acid, either RNA or DNA.
   8. Well—The plate well.
   9. Index1Name—The Index 1 name.
   10. Index1Sequence—The Index 1 sequence.
   11. Index2Name—The Index 2 name.
   12. Index2Sequence—The Index 2 sequence.
   13. Save the file.
3. Select Choose .csv File.
4. Browse to and select the appropriate CSV file, and then select Open. The information from the file populates the Import Sample Libraries page.
5. \[Optional] Select additional libraries as follows.
   1. Select Save & Continue Later.
   2. Select the checkbox of each library you want to use.
6. Select Pool Libraries.


---

# 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://help.connected.illumina.com/basespace/sequence/plan-runs/prep-tab/import-sample-libraries.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.
