Sist endret: 16. jan. 2025

Altinn App Integration

How to get started sending notifications from an Altinn App.

1. Create and configure your Altinn App

Start by creating and configuring your Altinn App using Altinn Studio and your preferred code editor. Ensure that your app uses version 8.1.0 or higher of the NuGet packages to enable native notifications. For optimal performance and security, always use the latest stable version.

For detailed guidance on Altinn App development, refer to the Altinn Studio documentation.

2. Review policies for relevant resources in the Altinn Resource Registry

Note: All intended recipients must be granted read through the policy of the resource.

Associating a notification with a resource results in the policy of said resource being used to identify the correct recipients of the notification. All intended recipients must be granted read through the policy of the resource.

A resource in this case can be both an Altinn App or a resource (tjenesteeierressurs).

For Altinn Apps, you must also ensure that the access-subject has read granted for all relevant tasks and events.

A new Altinn Resources can be registered in Altinn Studio or through an API. Please reference Altinn Resource Registry for instructions on how to create a new resource.

The policy for both Altinn Apps and other Altinn Resources can be managed in Altinn Studio. Please reference the Altinn Studio documentation on how to do this.

3. Understand guidelines and best practices for sending notifications

To ensure effective communication, it is essential to strictly define what qualifies as a notification and avoid overwhelming users with too many messages.

Familiarize yourself with our guidelines to understand what notifications should and should not contain, promoting digital safety and preventing notification fatigue.

For comprehensive details, please refer to our extensive documentation.

4. Set up your app to send notifications

Follow the instructions in the Altinn App reference documentation to configure your app for sending notifications.