# Chrome extension

With the Databar [Google Chrome extension](https://chrome.google.com/webstore/detail/databarai-web-scraping/diijlidbfjnlccmmalabeflgckicodbj), you can scrape data from any website and directly send it to Databar. Pull in custom data and build on top of it as you like.

## Tutorial

{% embed url="<https://www.youtube.com/watch?t=34s&v=-aqifKVlvA4>" %}

## Setup

### Step 1: Install the Google Chrome extension

To install the extension, head over to this [link](https://chrome.google.com/webstore/detail/databarai-web-scraping/diijlidbfjnlccmmalabeflgckicodbj) and click **Add to Chrome**.

<figure><img src="https://536782565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN1gGey2zqiCs3FbMHdrl%2Fuploads%2FF0AdJ2Rtb1iENUV9tOiJ%2Fhhhh.png?alt=media&#x26;token=b8f9816c-fa72-41bc-86ab-cbaaab2b9cc2" alt=""><figcaption></figcaption></figure>

### Step 2: Start the extension

Find and click on the **Databar.ai Web Scraping** in your extensions folder. Once clicked, please click **New Job** on the popup.

<figure><img src="https://536782565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN1gGey2zqiCs3FbMHdrl%2Fuploads%2FuIzvldDjKXsZftD6OHSG%2FScreenshot%202023-04-26%20at%2008.10.45.png?alt=media&#x26;token=590e8dae-efbf-4f17-83ba-f6dbae6ec61a" alt=""><figcaption></figcaption></figure>

### Step 3: Set Web Scraper Parameters

After you performed the steps above, a toolbar shows up similar to the one below. Please click on **Add Column** to create your first job.

***Note: You have to be located on the website of your choice before you start the Databar Web Scraper***

<figure><img src="https://536782565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN1gGey2zqiCs3FbMHdrl%2Fuploads%2FfwcNnZ0lO7p4ufxTJPH8%2FScreenshot%202023-04-26%20at%2008.12.27.png?alt=media&#x26;token=261e0b86-ed7e-4639-8f54-d04d7f9cf877" alt=""><figcaption></figcaption></figure>

Select the element you'd like to scrape and every similar element on the page should automatically be marked as a preview of what's going to be scraped. Once satisfied, please click on the **tick** on the toolbar to confirm the scrape job.

<figure><img src="https://536782565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN1gGey2zqiCs3FbMHdrl%2Fuploads%2FeswFHLvOnmHmuiduqcG1%2Fezgif-2-da5c24beeb.gif?alt=media&#x26;token=085bda25-6b4a-4c0e-846b-cfd90fdf6fae" alt=""><figcaption></figcaption></figure>

### Step 4: Extracting Data

Click on **View Results** to see the data extracted.

<figure><img src="https://536782565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN1gGey2zqiCs3FbMHdrl%2Fuploads%2FU0DAhIDqABI9cWCrgZzp%2FScreenshot%202023-04-26%20at%2008.21.07.png?alt=media&#x26;token=98285faf-3e12-44d2-afb8-a11285f32dc5" alt=""><figcaption></figcaption></figure>

You will be relocated to a page showing you the data extracted. You can either (i) Export to CSV or (ii) Send to Databar. Please see the video below to stream data to Databar.

***Note: You will need your Databar API Key to send data to Databar***

<figure><img src="https://536782565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN1gGey2zqiCs3FbMHdrl%2Fuploads%2FjUFNE7usKhh4Siy15KHf%2Fezgif-2-97b5c2f7ca.gif?alt=media&#x26;token=82f30be8-31fc-4aca-bda4-0e266cda9e83" alt=""><figcaption></figcaption></figure>

### Step 5: Enriching Data

Once the data's been transferred to Databar, you can build on top of it using our enterprise-grade enrichments. To get started:

1. Click on **Data & Enrichments**
2. Select **Enrichments** and click on **Add a new enrichment**
3. Once clicked, find an enrichment you'd like to use.
4. Fill in the request parameters of the enrichment with the column whose data you want as input.
5. Select the response fields you want to be returned after the enrichment has run
6. Click **Add x columns** when all these details are confirmed
7. Once the enrichment's successfully created, click on it, go to **Run Rows,** and click on **Run All rows.**
8. After this, your data should instantly load up with the response fields selected.

<figure><img src="https://536782565-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN1gGey2zqiCs3FbMHdrl%2Fuploads%2FKePpfbZzwOeuIq3U6hfy%2Fezgif-4-c8c3fe8de8.gif?alt=media&#x26;token=9cdae488-8f43-49fe-a071-df54ad0634aa" alt=""><figcaption></figcaption></figure>

### Support

If you have any questions about the extension or would like to submit feedback, please reach out to us at <info@databar.ai>.
