# SNS Source

## Overview

The steps below enable you to onboard an SNS source into Panther. You will be able to configure your SNS topics to send data to an [SQS queue](/data-onboarding/data-transports/aws/sqs.md) managed by Panther.

{% hint style="warning" %}
If you are a [Cloud Connected](/system-configuration/panther-deployment-types/cloud-connected.md) customer, create any log source infrastructure in a separate AWS account from the one your Panther deployment resides in.
{% endhint %}

## How to set up an SNS log source in Panther

### Step 1: Set up your SQS source

Follow the Panther documentation on [setting up an SQS source](/data-onboarding/data-transports/aws/sqs.md) in Panther, making sure to add the ARN of your SNS topic to the list of `Allowed Source ARNs`.

{% hint style="info" %}
Keep a note of the SQS Queue URL that Panther creates for your SQS Source.
{% endhint %}

### Step 2: Create SNS subscription to SQS queue

1. Log in to the AWS account that contains your SNS topic.
2. Go to SNS Service.
3. Select your SNS topic.
4. Click on **Create Subscription.**
5. Fill in the Details section.
   * Make sure to select **Enable Raw Delivery**.
   * For the ARN in Endpoint, use this format: `arn:aws:sqs:<region>:<account id>:<queue name>`.
6. When the subscription has been created, navigate back to your Panther Console to see your SNS topic messages begin to populate.

## Viewing ingested logs

After your log source is configured, you can search ingested data using [Search](/search/search-tool.md) or [Data Explorer](/search/data-explorer.md).


---

# 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.panther.com/data-onboarding/data-transports/aws/sqs/sns.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.
