# Getting Started

### Install Popai Extension

To begin using Popai, first install the extension:

1. Visit [Popai on Chrome Web Store](https://chromewebstore.google.com/detail/popai/fnlldpnbaabmbjaadohmdeeiehfbldmg)
2. Click "Add to Chrome" button
3. Follow Chrome's prompts to complete installation
4. After installation, you'll see the Popai icon in your browser's extension bar

### Set Up Your API Key

Configure your API key to access AI features:

1. Get your API key from [OpenRouter](https://openrouter.ai/keys) ,ensure you have enough credits in your openrouter account
2. Click the Popai icon in your browser's extension bar
3. Login to Popai and go to Options
4. Enter your API key in the "API Keys" section
5. Click Save

### Enable Tools（Optional）

Next, configure which tools you want to use:

1. Toggle the switch next to each tool you want to enable in the tool repository
2. Enabled tools will appear in your chat interface

### Start Using Popai

Once configured, you can start using Popai:

1. Click the Popai icon to open the chat interface
2. Type your question or request
3. Select the appropriate tool for your task from the toolbar
4. Click Send or press Enter

The AI will process your request using the selected tool and model, providing responses based on your configuration.

#### Tips

* You can switch tools during a conversation
* Different tools may use different models optimized for specific tasks
* Use the language selector to get responses in your preferred language
* Use keyboard shortcuts for quick access
* Try different window modes to find your preferred layout


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://xriddle.gitbook.io/popai/getting-started.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
