# Google Cloud Storage

The **Google Cloud Storage (GCS)** data source in Epsilla allows users to seamlessly connect their GCS bucket to manage documents stored in the cloud. This type of data source is ideal for adding dynamic or shared content, such as PDFs, images, or structured files, to the knowledge base for retrieval purposes.

### **Select Knowledge Base Type**

Choose **Google Cloud Storage** to continue.

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-b4507193da77d801f2bd1edb23efe1f568181535%2FScreenshot%202024-12-02%20at%205.37.53%E2%80%AFPM.png?alt=media" alt=""><figcaption></figcaption></figure>

### **Knowledge Base Name**

Provide a Knowledge Base Name. A valid name should start with a letter or '\_', and can contain only letters, digits, underscores, and whitespaces (e.g., `MyGCSDocs`).

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-202948e273ddf322cffac0daf0d8dca181859081%2FScreenshot%202024-12-02%20at%205.40.00%E2%80%AFPM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### **Configure GCS Connection**

Provide the required details to connect to your GCS bucket:

* **Service Account Credential**: Paste the content from your GCP `credentials.json` file.
* **Bucket**: Specify the name of your GCS bucket (e.g., `epsilla-gcs-demo`).
* **Prefix** *(Optional)*: Enter the folder path within the bucket if you want to sync specific folders. Leave blank to sync the entire bucket.

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-3a1358b38bdf3453ea4a0d3c11d999f9f75abf7a%2FScreenshot%202024-12-02%20at%205.39.04%E2%80%AFPM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

### **Data Processing**

Once the required information is entered, click **Create** to start the knowledge base creation process. Epsilla will automatically process the files (under the hood, Epsilla will load the files, chunk them, and embed them into vectors).

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-4d7278a6870a321af1d7da87ff7de648f95fe239%2FScreenshot%202024-12-02%20at%205.40.21%E2%80%AFPM.png?alt=media" alt="" width="523"><figcaption></figcaption></figure>

After the data is processed, the list of documents imported from GCS will be visible in the **Loaded Files** section. Files that are ready for use will be marked as **Ready**, while those still processing will show a status of **Processing data**.&#x20;

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-91ccb999720e7707e3a906bb6502d445c885437d%2FScreenshot%202024-12-02%20at%205.40.47%E2%80%AFPM.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

You can update or edit your Google Cloud Storage configuration by navigating to the **Data Sources** tab under your knowledge base.
