# OneSignal

OneSignal is a messaging service that lets you send push notifications and emails to your customers.

Freshpaint helps teams manage and control their customer data. Freshpaint automatically captures every click, pageview, and form submission. This makes it possible for non-technical users to route data from Freshpaint to any marketing or analytics platform.

With Freshpaint and OneSignal, you can can use Freshpaint to attach user metadata to your users in OneSignal and create customized messaging campaigns for your customers.

## Destination Information

* Accepts [identify](https://documentation.freshpaint.io/readme/setting-up-identify) calls
* Does not support [Track](https://documentation.freshpaint.io/developer/freshpaint-sdk-reference#track) track calls and will not appear as a destination option in the event library
* Supports [HIPAA mode](https://documentation.freshpaint.io/hipaa-mode)
* Connection Modes:

<table><thead><tr><th align="right"> </th><th data-type="checkbox">Client-side</th><th data-type="checkbox">Server-side</th></tr></thead><tbody><tr><td align="right">Web</td><td>false</td><td>true</td></tr><tr><td align="right">Mobile</td><td>false</td><td>true</td></tr><tr><td align="right">Server</td><td>false</td><td>true</td></tr></tbody></table>

## Getting Started

### What You'll Need

* [OneSignal Account](https://onesignal.com/pricing)
* OneSignal App ID (found under Settings > Keys and IDs)
* Freshpaint account with [identify calls set up](https://documentation.freshpaint.io/readme/setting-up-identify).

{% hint style="info" %}
Before you can pass Freshpaint data to OneSignal, you'll need to [install the Freshpaint javascript SDK](https://documentation.freshpaint.io/readme/quickstart/installing-freshpaint), and have [identify calls set up](https://documentation.freshpaint.io/readme/setting-up-identify).
{% endhint %}

1. **From within Freshpaint, navigate to Destinations > Overview and search for OneSignal. Select Details.**

<figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2FVAFsy3TNCqnW6f1WK7ko%2Fonesignal.png?alt=media&#x26;token=af4b78f8-1828-4542-bb18-b4464980b89b" alt=""><figcaption></figcaption></figure>

**2. Insert your OneSignal App ID (found under Settings > Keys and IDs)**

<figure><img src="https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2F5fAfYgUg6poBb6wZfpFe%2FPasted%20Graphic%209.png?alt=media&#x26;token=38d5fb89-184f-43a3-a1d2-7390e025d13f" alt=""><figcaption></figcaption></figure>

![](https://1666823438-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MA7aDqsXMFbUsWVqonF%2Fuploads%2FtnkH28IUwj38bgzGfBDa%2Fimage.png?alt=media\&token=688e7398-8f94-475f-b800-9ed21e3d210d)

**3.** [**Enable**](https://documentation.freshpaint.io/readme/setting-up-your-destinations/enabling-and-disabling-a-destination) **the destination.**&#x20;

##


---

# 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://documentation.freshpaint.io/integrations/destinations/apps/one-signal.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.
