Create a pre-permission in-app
Build the in-app that asks users to allow notifications before the system push permission prompt appears. To choose when to show it and start it with a journey, see How to ask for push permission with a pre-permission in-app.
Build the in-app
Anchor link to- Go to Content → In-Apps and click Create in-app to open the built-in editor directly.
- Enter a template name.
- Open the Blocks tab in the right panel and add a text or heading block with your pitch for enabling push.

- Add a button block for the accept action and another for the decline action.

- Select the accept button and set Action Type to Request push permission. This action needs no code: on tap, it shows the system permission dialog and closes the in-app.
- Select the decline button and set Action Type to Close In-App. This action needs no code.

After you save the template:
- Accept button: the system permission dialog appears.
- Decline button: the in-app closes and no system dialog appears.

Skip the prompt for users who already opted in
Anchor link toA display condition hides the in-app for users who already allowed push, even when a later trigger shows the template again.
The condition uses the Push Alerts Enabled tag. The SDK sets this default Boolean tag from the device’s system notification permission.
- In the Layers panel, click the first block, then Shift-click every other block to select the whole template together.
- Turn on Show this block conditionally. The rule you set below applies to the whole selection at once.
- Set the rule to Push Alerts Enabled is false.
- Under If value is unknown, choose Show block. A fresh install with no tag value yet should still see the prompt.

See also
Anchor link to- How to ask for push permission with a pre-permission in-app: choose when to ask, show this in-app with a journey, and check the result.
- iOS push primer: an iOS-only alternative your developers build in app code.
- Create opt-out recovery popups: recover users who already disabled push (not the first ask), using the same Push Alerts Enabled tag.
- Create in-apps with JavaScript: the full JavaScript bridge reference.