# Pinecone Setup

Pinecone is a vector database that allows storing data such as pdf, docs, website links etc for doing a search on them later on. It's useful for creating applications such as chatbots where a user asks for a specific question and the bot then performs a search on the database to find the relavant answers to the asked question.

In this tutorial, we are going to create a pinecone account that will allow you to store upto 600MB of data for free! This is roughly near to 15 million to 20 million of characters. That means you can store upto 20 million of characters just using a free account.

Want to see a **video tutorial** instead? Check below:

{% embed url="<https://www.youtube.com/watch?v=6rATNqmpvmQ>" %}

***

### Step by Step guide to create a free pinecone account

**Step 1:** Go to <https://pinecone.io> and click Sign up for free.

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FbW9R489UXryISp0DcfcU%2FScreenshot%202023-10-01%20at%201.55.36%20PM.png?alt=media&#x26;token=d5fa823a-25b2-430b-9080-fbf2f611c318" alt=""><figcaption></figcaption></figure>

**Step 2:** Fill the necessary pre-asked questions and click 'Complete setup'.

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FZAJGM4uBSPQ8EA77olEd%2FScreenshot%202023-10-01%20at%201.56.00%20PM.png?alt=media&#x26;token=fef70a5b-a674-4fc3-bc85-8ae9cb94f978" alt=""><figcaption></figcaption></figure>

**Step 3:** A default project will now be created. We will delete this default project and create a new custom project.&#x20;

{% hint style="info" %}
This is a very **critical** step and should not be skipped. The default project has lot of limitations and hence a custom project needs to be created.
{% endhint %}

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FbRlrBrahIOOovIttFF97%2FScreenshot%202023-10-01%20at%201.56.22%20PM.png?alt=media&#x26;token=f379f4a4-68f9-4082-88b0-b25b047259d2" alt=""><figcaption></figcaption></figure>

**Step 4:** To delete the project, click on **Settings** on the left sidebar.

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2F2gmgm1qNjkvYnYqgXkCz%2FScreenshot%202023-10-01%20at%201.56.49%20PM.png?alt=media&#x26;token=8642a590-b5ac-4593-9583-902c170a0f21" alt=""><figcaption></figcaption></figure>

Now click on the delete icon.

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FYCekvk1zF6Z1reAt9PKI%2FScreenshot%202023-10-01%20at%201.57.07%20PM.png?alt=media&#x26;token=1e41ab7c-c054-4456-b600-07e482f2e5f0" alt=""><figcaption></figcaption></figure>

Click Delete Project.

**Step 5:** Create a new project.

Click on 'Create a Project'

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2Fs31RbJgAMRAWYucElZC2%2FScreenshot%202023-10-01%20at%201.57.24%20PM.png?alt=media&#x26;token=7d4a5461-bae3-4aac-8cbd-d26b679ad118" alt=""><figcaption></figcaption></figure>

Enter the project name and choose your environment (free tier).

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FRzRbj0Xdd0sDxYIH08GA%2FScreenshot%202023-10-01%20at%201.58.08%20PM.png?alt=media&#x26;token=2030473a-6000-43bd-82a1-1f88efbc1c27" alt=""><figcaption></figcaption></figure>

Click 'Create'. And your project will start initializing.

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FAtbDjV8hvnNNfRMKSyl2%2FScreenshot%202023-10-01%20at%201.58.23%20PM.png?alt=media&#x26;token=96f55c08-9591-4273-a062-8c5d77a4cad7" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
It can take 2 to 3 minutes for a project to get initialized.
{% endhint %}

**Step 6:** Create a new index.

Once your project is initialized, you will see a button 'Create index'. **Index** can be assumed as a parent folder inside the project that will store all your files and website data in the form of vectors.

Click on 'Create Index'.

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FZEO7D8xKODd4xCgU7F3X%2FScreenshot%202023-10-01%20at%201.58.36%20PM.png?alt=media&#x26;token=4129c3dd-af0b-472f-8064-ff9bf50fea33" alt=""><figcaption></figcaption></figure>

Fill the name and dimensions of the index. The dimension value should **ALWAYS** be 1536. Keep the other details as is and click 'Create'.

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FjMaPyGWmrblnk10wJyb2%2FScreenshot%202023-10-01%20at%201.58.54%20PM.png?alt=media&#x26;token=1ba860ae-5d0e-4ccd-96ed-0b0f62609f89" alt=""><figcaption></figcaption></figure>

**Step 7:** Your index is now created.

It can take a minute or 2 for the index to get initialized. In the screenshot below, you can find the details which are required while connecting your pinecone account with your Cloozo account.

The required details are:

1. Index name
2. Host
3. Environment
4. API key

<figure><img src="https://490637561-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJUmPhYeKXjJyrJDIhcIj%2Fuploads%2FUZuv7GNMIS5fnrooHX2i%2FScreenshot%202023-10-01%20at%201.59.04%20PM.png?alt=media&#x26;token=23802309-591e-41be-9dc3-c1ef3c35870e" alt=""><figcaption></figcaption></figure>

**Step 8:** That's all. You have successfully created your pinecone account. In case you face any issues, feel free to contact us at <support@cloozo.com>
