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

# Quickstart

> Learn how to connect apps and get started with ZeroAgent

export const Banner = () => {
  return <div className="flex not-prose bg-primary" style={{
    borderRadius: '1rem',
    background: "url('https://firebasestorage.googleapis.com/v0/b/zeromagicsite.appspot.com/o/background.png?alt=media&token=6a7e76dd-2e28-4b48-98a0-e73adb134aac')"
  }}>
      <div className="flex-1" style={{
    padding: '2rem 2rem'
  }}>
        <h1 className="text-3xl text-white font-bold">Get Started for Free</h1>
        <h2 className="mt-1 text-white">Make your Online store and Websites smarter and more interactions with AI Agents</h2>
        <button onClick={() => window.open("https://app.zeroagent.io/")} className="mt-5 flex items-center space-x-1 font-medium px-4 py-1 bg-white rounded-xl group-hover:opacity-[0.9]" style={{
    color: '#09090B'
  }}>
          <span>Get started</span>
          <svg xmlns="http://www.w3.org/2000/svg" width={20} height={20} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth={2} strokeLinecap="round" strokeLinejoin="round" className="w-3 h-3">
            <path d="m9 18 6-6-6-6" />
          </svg>
        </button>
      </div>
      <div className="hidden sm:flex flex-1">
        <img src="" />  
      </div>
    </div>;
};

# 1. Shopify

This Quickstart guide will help you connect Zeroagent to Shopify Store and start assisting your customers with Shopping Agents.

<Frame>
  <iframe src="https://www.youtube.com/embed/p9-R14A5tLI" className="w-full aspect-video" />
</Frame>

### Step 1: Access the Zeroagent Console

* **Log in** to your Zeroagent account.

### Step 2: Select Type

* Select `Shopify` and enter your `shopify store name`.

```title="example" theme={null}
https://<yourstore>.myshopify.com
```

<Frame>
  <img src="https://mintcdn.com/zeromagic/KpAeOgHrtS5Ts7Jd/assets/images/add-site.png?fit=max&auto=format&n=KpAeOgHrtS5Ts7Jd&q=85&s=8d71b21843de6a3322c105d4c5dcfdde" alt="add-store" width="1120" height="557" data-path="assets/images/add-site.png" />
</Frame>

### Step 3: Authorize Store Acess

* You will be redirected to authorization page. This will install our `zeroagent shopify extension` to your shopify store.

### Step 4: AI Knowledge Base

* All your `Shopify Store Products` are added to the AI Knowledge Base. You can also add FAQs, and other addtional information about your store.

<Frame>
  <img src="https://mintcdn.com/zeromagic/KpAeOgHrtS5Ts7Jd/assets/images/knowledge-base.png?fit=max&auto=format&n=KpAeOgHrtS5Ts7Jd&q=85&s=be2d7570843108ac51540eb29dfb8fa8" alt="knowledge-base" width="1603" height="712" data-path="assets/images/knowledge-base.png" />
</Frame>

<Note>
  You can only use **pdf files** to add additional information about your store.
</Note>

### Step 5: Customise AI Chat Widget

* In the **Chat Widget** section, you can update the `store name` , `store placeholder` and `store theme`.

### Step 6: Start Using Your AI Agent

* Your AI Shopping Assistant is deployed on your store and is ready to help customers while shopping.
* AI Shopping Assistant will provide personalized product recommendations, handle orders, answer queries, and more for your customers.

# 2. Other Webpages

This Quickstart guide will help you connect Zeroagent to Shopify Store and start assisting your customers with Shopping Agents.

<Frame>
  <iframe src="https://www.youtube.com/embed/CMbmbTkWFOo" className="w-full aspect-video" />
</Frame>

### Step 1: Access the Zeroagent Console

* **Log in** to your Zeroagent account.

### Step 2: Select Type

* Select `Website` and enter your `domain name` or custom coded `store domain name`.

<Frame>
  <img src="https://mintcdn.com/zeromagic/KpAeOgHrtS5Ts7Jd/assets/images/add-webpage.png?fit=max&auto=format&n=KpAeOgHrtS5Ts7Jd&q=85&s=13d2824526a862059811162f95142a51" alt="add-webpage" width="1161" height="574" data-path="assets/images/add-webpage.png" />
</Frame>

### Step 3: Embed SDK in App

Use the below code to embed the chat widget script code in your applications HTML file.

<CodeGroup>
  ```js HTML theme={null}
  <div id="zeroagent-ai-widget"></div>
  <script src="https://cdn.jsdelivr.net/npm/@zeroagent/js@latest/dist/index.js"></script>
  <script>
  Zeroagent('<YOUR_APP_ID>', '<YOUR_APP_KEY>');
  </script>
  ```

  ```js Next theme={null}
  // install package
  npm install @zeroagent/js

  // code
  'use client';
  import Zeroagent from '@zeroagent/js';
  <Zeroagent appID={'<YOUR_APP_ID>'} appKey={'<YOUR_APP_KEY>'} />
  ```

  ```js Vue theme={null}
  // index.html [Recommended]

  <div id="zeroagent-ai-widget"></div>
  <script src="https://cdn.jsdelivr.net/npm/@zeroagent/js@latest/dist/index.js"></script>
  <script>
  Zeroagent('<YOUR_APP_ID>', '<YOUR_APP_KEY>');
  </script>

  (or)

  // peer-dependency: react package required
  npm install @zeroagent/js react

  // code
  import Zeroagent from '@zeroagent/js';
  <Zeroagent appID={'<YOUR_APP_ID>'} appKey={'<YOUR_APP_KEY>'} />
  ```

  ```js React theme={null}
  // install package
  npm install @zeroagent/js

  // code
  import Zeroagent from '@zeroagent/js';
  <Zeroagent appID={'<YOUR_APP_ID>'} appKey={'<YOUR_APP_KEY>'} />
  ```

  ```js React TS Hardcore  theme={null}
  ... 

    useEffect(() => { 
      const script = document.createElement('script');
      script.src = 'https://cdn.jsdelivr.net/npm/@zeroagent/js@latest/dist/index.js';
      script.async = true;
      script.onload = () => { 
        if ((window as any).Zeroagent) {
          (window as any).Zeroagent('<YOUR_APP_ID>', '<YOUR_APP_KEY>');
        } else {
          console.error('Zeroagent is undefined');
        }
      };
      document.body.appendChild(script);

      const widgetDiv = document.createElement('div');
      widgetDiv.id = 'zeroagent-ai-widget';
      document.body.appendChild(widgetDiv);

      return () => { 
        document.body.removeChild(script);
        document.body.removeChild(widgetDiv);
      };
    }, []);

  ... 

  ```
</CodeGroup>

### Step 4: AI Knowledge Base

* Our system **automatically crawls** all the URLs on your website and adds the content to the AI Knowledge Base. You can view all the crawled pages in the Knowledge Base section.

* Additionally, you can upload your own data to the AI Knowledge Base through the Files section.

<Note>
  To use products as part of the AI Knowledge Base, ensure you upload them in the specified **XLS** format
</Note>

<Frame>
  <img src="https://mintcdn.com/zeromagic/KpAeOgHrtS5Ts7Jd/assets/images/files-webpage.png?fit=max&auto=format&n=KpAeOgHrtS5Ts7Jd&q=85&s=904e664dfda9b9f544bb70c6b2daa3ea" alt="files-webpage" width="1603" height="420" data-path="assets/images/files-webpage.png" />
</Frame>

### Step 5: Customise AI Chat Widget

* In the **Chat Widget** section, you can update the `store name` , `store placeholder` and `store theme`.

### Step 6: Start Using Your AI Agent

* Your AI Agent is deployed on your webpages and is ready to help customers while users. AI Agents will assits users on your queries & answers them, and more for your users.

## Explore Resources

<CardGroup cols={2}>
  <Card title="Use Case" icon="brackets-curly" href="/use-case">
    Ensure accuracy and control over the actions
  </Card>

  <Card title="Knowledge Base" icon="folder" href="/knowledge-base">
    Learn how to get started with business apps
  </Card>
</CardGroup>

<br />

<Banner />
