# PlanetScale Integration

## Resmo + PlanetScale Integration Fundamentals

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

Resmo connects to PlanetScale in one click to bring asset visibility, continuous security, and compliance into your environment.

### What does Resmo offer to PlanetScale users?

* Collect your directory assets like databases, organizations, and database branches from your PlanetScale account.
* Query your PlanetScale databases, organizations, database branches, and more with SQL queries or free text searches.
* Set up custom security rules to automate security checks.
* Get notified of rule changes in real-time to close security gaps in time.

### How does the integration work?

Resmo uses API to do the initial polling and collect existing resources. Following the initial polling, it receives updates and changes in real-time through webhook and regular polling.

* API polling
* Webhook

#### Available resources

PlanetScale resources you can collect with the integration include branch passwords, databases, organizations, and more. See the complete list from the resource directory:

{% embed url="<https://resources.resmo.com/planetscale>" %}

## Integration walkthrough

### How to install

1. Select PlanetScale on the Integrations page.
2. Click the Add Integration button at the bottom right corner of the opening modal.
3. Hit the Create button.
4. You'll be redirected to PlanetScale. **Accept permissions**.
5. Your PlanetScale integration is all set! Now you can start querying your PlanetScale resources.

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

### How to uninstall

1. Select PlanetScale on your Integrations page.
2. Navigate to the Connected Integrations tab on the opening modal.
3. Click the PlanetScale integration you want to uninstall.
4. Click the **Disable** button from the top right to temporarily disable the integration. You can enable it back later. To permanently remove the integration, click the **Delete** button instead. Note that this action cannot be undone.


---

# 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://resmocom.gitbook.io/product/integrations/planetscale-integration.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.
