# Subscribe contacts to push notification campaigns

When push notifications is properly configured, and SDKs are integrated in your application, the push notification token will be added to the contact. This enables you to build user [Journeys](https://docs.bird.com/applications/automation/journeys) that include sending push notifications.

In order to include the contact in push notification [Campaigns](https://docs.bird.com/applications/campaigns/campaigns), it's important to get the consent of the user to receive marketing push notifications. When the user gives their consent, you can reflect that on the contact by setting the `subscribedPush` attribute.

{% tabs %}
{% tab title="Android (Kotlin)" %}

```kotlin
val attributes = Attributes()
    .put("displayName", "Roy Glass")
    .put("subscribedPush", true)
bird?.contact?.putAttributes(attributes) 
```

{% endtab %}

{% tab title="iOS (Swift)" %}

```swift
let attributes = Attributes()
    .put("displayName", "Roy Glass")
    .put("subscribedPush", true)
bird?.contact.putAttributes(attributes: attributes)
```

{% endtab %}

{% tab title="Web (JavaScript)" %}

```javascript
Bird.eventTarget.addEventListener('bird-sdk-initialized', async () => {
  await Bird.contact.putAttributes({
    displayName: "Roy Glass",
    subscribedPush: true,
  });
});
```

{% endtab %}
{% endtabs %}
