> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ai21.com/llms.txt
> Use this file to discover all available pages before exploring further.

# File Search

> How to Use File Search in AI21 Studio 

Follow these steps to use documents to provide AI21 Maestro more context.

### Step 1: **Go to the Playground Section**

<Expandable title="Content">
  Navigate to Maestro [**Playground**](https://studio.ai21.com/v2?tab=maestro) from the left-hand menu in AI21 Studio.

  <img src="https://mintcdn.com/ai21-demo/LNlHHKfViioyL7qE/Step1GotothePlaygroundSection.png?fit=max&auto=format&n=LNlHHKfViioyL7qE&q=85&s=cd37a1abd98d3b0593ce7cb5aff9a18f" alt="Dataconnectorsallscreen Pn" width="1498" height="709" data-path="Step1GotothePlaygroundSection.png" />
</Expandable>

### Step 2: Add a Tool

<Expandable title="Content">
   In the **Configuration** panel, go to the **Tools** section and click **Add**.

  <img src="https://mintcdn.com/ai21-demo/LNlHHKfViioyL7qE/images/Step2AddaTool.png?fit=max&auto=format&n=LNlHHKfViioyL7qE&q=85&s=9411bc6315736e17e3397d6a9f6e8e8d" alt="Step2adda Tool Pn" width="1489" height="722" data-path="images/Step2AddaTool.png" />
</Expandable>

### **Step 3: Select File Search**

<Expandable title="Content">
  In the tools dropdown, select **File search**.

  <img src="https://mintcdn.com/ai21-demo/EeosE3iH8Y4L0S1j/images/selectfilesearch.png?fit=max&auto=format&n=EeosE3iH8Y4L0S1j&q=85&s=4c79e23941dcb13ce96da4c041b20687" alt="Selectfilesearch Pn" width="1128" height="705" data-path="images/selectfilesearch.png" />
</Expandable>

### **Step 4: Select Documents from Your File Library**

<Expandable title="Content">
  Choose the documents you want to use from your **File Library**.

  <img src="https://mintcdn.com/ai21-demo/ByWMhuG-Kv-MJyB4/images/selectspecificdocsyoueanttochoose.png?fit=max&auto=format&n=ByWMhuG-Kv-MJyB4&q=85&s=5fb01d682e83bb1ec459425598bb957e" alt="Selectspecificdocsyoueanttochoose Pn" width="905" height="637" data-path="images/selectspecificdocsyoueanttochoose.png" />

  <Note>
    When no files are selected, all files will be searched. Select docs to narrow your search.
  </Note>
</Expandable>

### Save the Files You Want to Search

<Expandable title="Content">
  After verifying that the files are correct, click **Save**.
</Expandable>
