> For the complete documentation index, see [llms.txt](https://docs.threatdefence.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.threatdefence.com/siem-integrations/firewalls/cisco-meraki.md).

# Cisco Meraki

The integration uses the Meraki Dashboard API to collect data from your Meraki organization and send it to ThreatDefence, where it is correlated with your other security sources to detect threats and speed up response.

The following data is collected:

| Data                               | Source                                                                            | Requires                                                                                    |
| ---------------------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------- |
| Network clients                    | Every network in the organization                                                 | —                                                                                           |
| Network events                     | Every network, for each product type it contains (appliance, switch, wireless, …) | —                                                                                           |
| Security events (IDS/IPS, malware) | The organization's MX security appliances                                         | An MX appliance. IDS/IPS and malware events also need the MX's advanced security licensing. |

ThreatDefence only **reads** from the Dashboard API. Nothing in your Meraki configuration is changed.

{% hint style="info" %}

## Before you start:

Check the following. Each one stops collection if it is not met.

* **Licence compliance.** Every Meraki organization the API key's account can see must be licence-compliant. If any one of them falls out of compliance, Meraki refuses the API key for **all** organizations, including yours. Using a dedicated account limited to your organization (Step 1) avoids this.
* **Dashboard API access.** API access must be enabled in each organization you want collected (Step 2).
* **Region.** The integration supports organizations hosted in the global Meraki cloud (`dashboard.meraki.com` / `api.meraki.com`). If your organization is hosted in the Canada, China, India or US FedRAMP Meraki cloud, contact support before you start.
  {% endhint %}

***

## Step 1: Create a dedicated read-only administrator (recommended)

An API key has the same access as the administrator account that created it. We recommend a dedicated account rather than a personal one, so that:

* only your organization's data is collected;
* another organization's licence status cannot block collection;
* collection keeps working when staff leave.

To create it:

1. Sign in to [dashboard.meraki.com](https://dashboard.meraki.com) and select your organization.
2. Go to **Organization → Administrators** and click **Add admin**.
3. Enter a name and a shared or service mailbox address, for example `meraki-api@yourcompany.com`.
4. Set **Organization access** to **Read-only**.
5. Click **Create admin**. Meraki emails the new account an invitation; accept it and set a password.

If you are an MSP, create this administrator **inside the customer's organization**, not at MSP or partner level.

***

## Step 2: Enable Dashboard API access

In **each** organization to be collected:

1. Go to **Organization → Settings**.
2. Under **Dashboard API access**, tick **Enable access to the Cisco Meraki Dashboard API**.
3. Click **Save**.

***

## Step 3: Generate the API key

1. Sign in to the dashboard **as the administrator from Step 1**.
2. Click the account email in the top-right corner and open **My profile**.
3. Under **API access**, click **Generate new API key**.
4. Copy the key and store it securely. Meraki shows it only once.

***

## Step 4: Find your Organization ID

This step is **required** if the account can see more than one organization. Otherwise it is recommended.

Run one of the following, replacing `YOUR_API_KEY` with the key from Step 3.

**macOS / Linux**

```bash
curl -s https://api.meraki.com/api/v1/organizations \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Accept: application/json"
```

**Windows PowerShell**

```powershell
Invoke-RestMethod -Uri "https://api.meraki.com/api/v1/organizations" `
  -Headers @{ Authorization = "Bearer YOUR_API_KEY" }
```

The response lists each organization the key can see:

```json
[
  { "id": "123456789", "name": "Example Organization", "url": "https://n123.meraki.com/o/..." }
]
```

Note the `id` of each organization you want collected.

If the command returns *"Meraki API services are available for licensed Meraki devices only"*, see [Troubleshooting](#troubleshooting). If you cannot run the command, send us the organization name exactly as it appears in the dashboard's organization drop-down, and we will look up the ID.

***

### Onboarding the integration

Please follow the [Managing Integrations](/platform-management/managing-integrations.md) instructions and onboard the integration. The credentials saved above are required in this process.

{% hint style="warning" %}

### Adding OrgID(s): Any other format is not accepted. A value without brackets and quotes is either ignored, so every organization is collected, or rejected, so collection does not start.

{% endhint %}

If you encounter difficulties with onboarding, please email the following credentials to <support@threatdefence.com>

* API Key - Please share the API key with [PrivateShare](https://share.threatdefence.io/) and don't use plaintext in emails.
* Organizations - The Organization ID(s) from Step 4

{% hint style="info" %}
Organization IDs are preferred to names because they are unique and never change.
{% endhint %}

***

### Troubleshooting

| What you see                                                                   | Cause                                                                                                                                                                                        | What to do                                                                                                                                                                        |
| ------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `401` / *"Invalid API key"*                                                    | The key is wrong, was regenerated or revoked, or its administrator was removed.                                                                                                              | Generate a new key (Step 3) and send it to us.                                                                                                                                    |
| `403` / *"Meraki API services are available for licensed Meraki devices only"* | An organization the key's account can see is out of licence compliance. Meraki then refuses the key for every organization. The message includes a link to that organization's licence page. | Restore compliance in that organization (**Organization → License info**), or remove the account from it, or use a dedicated administrator limited to your organization (Step 1). |
| `404` / *"Not found"*                                                          | Dashboard API access is not enabled for the organization, or the key's account has no access to it.                                                                                          | Enable API access (Step 2), and check that the account is an administrator of the organization.                                                                                   |
| `429` / *"API rate limit exceeded"*                                            | Too many API requests to the organization at once, often from other tools using the API.                                                                                                     | No action needed. Collection slows down automatically and nothing is lost.                                                                                                        |
| Clients and network events arrive, but no security events                      | The organization has no MX appliance, or the MX lacks the licensing that produces IDS/IPS and malware events.                                                                                | Check the MX licensing. Contact support if you expect security events.                                                                                                            |

***

### Keeping the integration working

* Do not delete or downgrade the administrator from Step 1, and do not regenerate its API key, without sending us the new key.
* Keep every organization that administrator can see licence-compliant.
* If you rotate the key, update the new key before you revoke the old one, or collection stops.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.threatdefence.com/siem-integrations/firewalls/cisco-meraki.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
