# SerpAPI

{% hint style="info" %}
You might use the SerpAPI to query Google in your PixieBrix mods.
{% endhint %}

### Finding your SerpAPI key

Sign up for a SerpAPI key by going to the [SerpAPI website](https://www.notion.so/Integrations-Reference-45688e41d44b444a8a55afeec07862fc?pvs=21). Once you’ve made an account, you’ll find your Private API Key in your dashboard.<br>

<figure><img src="/files/jQcik4JF55iiUPsY6tVV" alt=""><figcaption></figcaption></figure>

Copy the API key and follow the steps for configuring in PixieBrix.&#x20;

### Configuring a SerpAPI Integration in PixieBrix

{% hint style="info" %}
To set up a cloud integration that your team can access, head to the [Admin Console](https://app.pixiebrix.com/). *(If you'd rather set up something locally, use the Extension Console. Learn more about* [Configuring Integrations](/integrations/configuring-integrations.md).*)*
{% endhint %}

From the **Integrations** section in the Admin or Extension Console, click the **+** **Add Integration** button in the top right corne&#x72;**.**&#x20;

Search for and select the SerpAPI integration.

A modal appears asking for a label and API key.

<figure><img src="/files/Ou7IthwN2SLeUmwSZL8g" alt=""><figcaption></figcaption></figure>

Give your integration a name in the label field, then paste in the API key copied from SerpAPI. Click **Save**.

Click **Save,** and your integration will be ready for use in any SerpAPI mods.


---

# 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://docs.pixiebrix.com/integrations/serpapi.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.
