If your product serves people in Saudi Arabia and needs to know who they really are, you will meet Nafath. It is the Kingdom’s national digital identity service. A person proves who they are with the Nafath app on their own phone, and your product receives a trusted answer.
This guide is for product managers and engineers who are planning a Nafath integration. Access rules and technical details are set by the service and its providers, so confirm the specifics with your integration provider before you build.
What the user sees
The flow is short, which is why users accept it:
- The user enters their national ID or Iqama number in your app.
- Your app shows a number on screen.
- The user opens the Nafath app, picks the same number and confirms with their face or fingerprint.
- Your app receives the result and continues.
There is no document upload and no waiting for a manual review.
Where it fits in your product
- Sign-up. Verify the person once, when the account is created.
- Before a sensitive step. Signing a contract, starting a payment plan or changing bank details.
- Sign-in. Some products use Nafath as the login itself and add single sign-on across their apps.
Decide which of these you need before you design the screens. Verifying at sign-up only is a much smaller project than using Nafath for every login.
How you get access
Companies do not usually connect to Nafath directly. The integration goes through an authorised provider. In our project the provider was Elm. Expect a commercial agreement, an onboarding process and a test environment before you see a production key. Start this early: it is paperwork, and it runs on its own timeline.
What to plan for
The waiting state
After your app shows the number, the user leaves your app to open Nafath. Your app has to wait, and it has to cope when they come back late, come back to a closed app or never come back. Design the timeout, the retry and the “start again” path as carefully as the happy path.
Wrong number, rejected request
Users sometimes pick the wrong number or reject the request. Show a plain message and let them try again without retyping everything.
People who cannot use it
Not every customer will have the Nafath app set up. Decide what happens to them: a manual path, or a clear message about what to do first.
What you store
Store the verification result and the time, and only the personal data your service needs. Saudi Arabia’s Personal Data Protection Law applies to what you keep and how long you keep it. Write this down before you design the database.
Both languages
The screens around the Nafath step must work in Arabic and English, right-to-left and left-to-right. The number on screen is the same in both, but the instructions around it are not.
Testing
You cannot test this flow fully with a fake. Plan time in the provider’s test environment, and a round of testing with real devices before launch.
A typical order of work
- Agreement and onboarding with the provider.
- Design of the sign-up flow, including failure and timeout screens.
- Backend integration in the test environment.
- App integration and waiting-state handling.
- Testing on real devices, in Arabic and English.
- Production keys and a gradual release.
Where we have done this
Meezotech integrated Nafath identity checks through Elm for a rent-payment platform in Riyadh, together with single sign-on and installment payments. You can read the case study, see our mobile app development work in Saudi Arabia, or talk to us about your own onboarding flow.
