- Cl@ve is the identification and signature system that allows secure access to most online public services using your ID/NIE, mobile phone and credentials.
- There are several ways to register (online with a letter or video identification, with a certificate/electronic ID card or in person), which grant basic or advanced registration levels.
- Cl@ve Móvil, Cl@ve Permanente and Cl@ve Firma cover everything from occasional access to advanced electronic signatures with cloud-based certificates, always linked to your phone.
- The mobile number is a critical element of the system; it can only be associated with a single ID card/foreign resident card and is strongly protected to ensure user security.

If you want to manage your paperwork with the Tax Office, Social Security, the State Public Employment Service (SEPE), or your local council without setting foot in an office, getting a Cl@ve PIN is practically essential these days . This system opens the door to a host of digital public services, and although it might sound a bit complicated at first, the process is actually quite manageable if you know where to start.
Throughout this guide you will find all the ways to register for Cl@ve (online, with video call, with certificate or in person), what types of Cl@ve exist (Cl@ve Móvil, Cl@ve PIN, Cl@ve Permanente and Cl@ve Firma), what differences there are between basic and advanced registration levels, and how the mobile phone and the codes they send you work.
What exactly is Cl@ve and what is it used for?
The Cl@ve system is, simply put, an electronic identification and signature method that allows you to prove your identity to the Public Administration without always having to use an electronic certificate installed on your computer. With your National Identity Document (DNI) or Foreigner's Identity Number (NIE) and some credentials (usually a mobile phone number and a password), you can access numerous online portals.
Thanks to Cl@ve, you can access online services from the Tax Agency, Social Security, SEPE ( State Public Employment Service), regional governments, city councils, and many other organizations. Depending on the security level required for each procedure, you will be able to use Cl@ve Móvil (formerly Cl@ve PIN), Cl@ve Permanente, or, if enabled, Cl@ve Firma with a cloud-based certificate.
To start using it, the first step is to register as a user in the Cl@ve system . During registration, you will provide your National Identity Document (DNI) or Foreigner's Identity Number (NIE), your mobile phone number, and an email address, and you will accept the terms of use. After this initial registration, you will be able to identify yourself with Cl@ve Móvil and, if you wish, activate your Permanent Cl@ve.
The system distinguishes between two registration levels: basic and advanced . The basic level is obtained by registering online with an invitation letter or through automatic video identification; it grants access to many procedures, but not all, and does not allow the use of Cl@ve Firma. The advanced level is obtained through in-person registration, with an electronic certificate/DNIe (Spanish National Identity Card), or through video identification manually reviewed by a public employee.
Ways to register with Cl@ve: overview

Currently you have several ways to register in the Cl@ve system and obtain your credentials , always with your identity document (DNI or NIE) and a mobile phone number as essential elements:
- Register online without an electronic certificate, through an invitation letter with a Secure Verification Code (CSV) or through the Cl@ve APP with automatic video identification (basic level).
- Online registration with video callwhere a public employee verifies your identity live using your document (usually with limited opening hours).
- Register online with electronic certificate or electronic ID card (DNIe).which directly places you at an advanced registration level.
- In-person registration at a Cl@ve registration officeby making an appointment and submitting your documents in person.
Each registration method leads to the same overall result (being registered with Cl@ve), but not all offer the same level of security . The basic level is primarily associated with the invitation letter and automatic video identification via the app, while the advanced level is achieved through in-person verification or certificate-based verification.
Regardless of the method you choose, you will always be asked for a mobile phone number and an email address during registration . The phone number will be key (literally) for receiving codes via SMS or for using the app, and the email address will be used for notifications and communications about the system.
Register with Cl@ve online using an invitation letter and CSV (without a certificate)
If you don't have an electronic certificate or a working electronic ID card (DNIe), a very common way to register is online with an invitation letter and Secure Verification Code (CSV) . This method grants you a basic registration level, sufficient for most procedures, although some organizations other than the Tax Agency require an advanced level for their most frequent transactions.
The process begins by accessing the "Register with Cl@ve" option on the official website (for example, from the Tax Agency's electronic office or the Cl@ve portal). The first thing you will need to provide is your identity document number:
- ID: eight numbers and one letter, all together, without spaces or hyphens.
- NO: one letter, seven numbers and a final letter, also without spaces or hyphens.
Depending on the document type, the system will request additional verification information . If it's a national identity card (DNI), it will ask for the expiration date, and in the case of a permanent DNI (dated 01/01/9999), the issue date. There are usually helpful links explaining where this date appears on the different DNI formats.
If you have a Foreigner's Identification Number (NIE) instead of a Spanish National Identity Document (DNI), you will need to enter the support number shown on your Foreigner's Card, Residence Permit, or European Union Citizen Certificate. You will also find help links such as "How to obtain the support number…?" and explanatory texts on how to enter it correctly.
When you click "Continue," the system validates the entered data. If it is correct, the two online registration options without a certificate are displayed : via invitation letter with CSV or via video identification using the Cl@ve app. If you choose the letter option, you will see the button "Yes, send me an invitation letter to my registered address."
Once you confirm the shipment, the request is generated and a message appears indicating that the letter has been sent to the tax address registered in the Tax Agency's database at that time. From here, you just have to wait; the letter usually takes around ten days, although this can vary.
Once you receive the letter, you have 60 days to complete everything . Go back to the same "Register with Cl@ve" option, enter your ID or NIE number again with its verification data, and this time, check the box "I already have an invitation letter" before clicking "Continue".
In the next step, you must enter the 16-character Secure Verification Code (CSV) found in your invitation letter. If you can't find it, there's usually a help section with instructions like "How to find the CSV in your invitation letter?" with examples and images.
If the CSV has expired (more than 60 days after the deadline), the system will notify you that the code is no longer valid . In that situation, you can request a new invitation letter or choose another registration method: video identification with the app, in-person registration, or online registration with a digital certificate or electronic ID.
In the final stage of registration, you will need to provide the mobile number where you want to receive SMS messages and an email address. If you are using a foreign phone, you will need to add your country's international dialing code. This information is essential for using Cl@ve later.
There is one important restriction to keep in mind: only one mobile number can be associated with a Spanish National Identity Document (DNI/NIE ). If the system detects that the phone number is already linked to another person (another document), you will be sent an SMS with a code to complete the new registration. Simultaneously, the previous person's access with that same number will be automatically disabled. A specific field for entering this additional code will appear on the registration form.
After accepting the terms and conditions and clicking "Submit," a page will appear with your Cl@ve Permanente activation code and a "View PDF" link to download your registration receipt. This PDF serves as proof of registration and contains the activation code, instructions for creating and activating your Cl@ve Permanente, and the system's terms of use.
Automatic Cl@ve registration via the Internet with video identification from the APP
Another very convenient way to obtain Cl@ve, without leaving home and also without an electronic certificate, is through automatic video identification via the Cl@ve app . In this case, the procedure gives you a basic registration level almost immediately, and later, after a manual review of the electronic evidence by a public employee, it can be upgraded to an advanced level.
This system is temporarily available to Spanish citizens with a valid National Identity Document (DNI ). To start using it, the first thing you need to do is download the official Cl@ve application from the corresponding store (App Store or Google Play) on your mobile device.
Once installed, if you are not registered with Cl@ve, the app itself will launch a step-by-step wizard to register you using video identification. When you open it for the first time, it will ask you to enter your ID number and verification information.
- Expiration date, for ordinary ID cards.
- Expedition date, if it is a permanent ID card dated 01/01/9999.
If the system detects that you are not yet registered, a prominent option such as "Video Identification" will appear to begin the remote process. Selecting this option will guide you through the different screens.
The first step is to provide a mobile phone number where you will receive an SMS with a verification code to confirm that the phone belongs to you. Both Spanish and foreign numbers are valid. Enter the received code into the app and, by pressing "Continue," the phone number will be validated.
Next, the application will ask you to provide a contact email address , where notifications related to the Cl@ve system will be sent. Enter it twice to confirm there are no typos and then press “Continue” again.
The next screen will display the mobile phone number and email address you provided for your review. You will also need to read and accept the system's terms and security policies . Once you check the corresponding boxes and click "Start Video Identification," the recording process will begin.
The app will request permission to access your device's camera and microphone , as you need to record video and audio. At some point, a captcha, or small verification code, will also appear on the screen, which you will need to enter correctly as an additional security measure.
During the recording, you will be asked to show your ID to the camera, to move it closer or turn it if necessary, and to perform certain gestures or movements to verify that you are the same person shown on the ID . The system will record both the image of the document and your face and voice.
If everything goes smoothly, the registration will complete successfully in just a few minutes. At that point, you'll be registered with a basic account and can start using Cl@ve Móvil directly from the app. You'll also usually be able to download a registration confirmation in PDF format.
In a later phase, a public employee will review the electronic evidence generated (videos, ID document, and facial biometric data). If the review is positive, your registration can be upgraded to the advanced level. When this happens, you will receive a notification in the Cl@ve app indicating this level change.
Register in Cl@ve via video call with an agent
In addition to automatic video identification, some organizations offer registration via video call with a public employee . In this case, you are not recorded by an automated system, but rather you speak live with a person who verifies your identity and registers you remotely.
This service is usually available Monday to Friday, during morning hours (for example, from 9:00 to 14:00). The usual procedure is to access the "Cl@ve Registration via Video Call" option on the corresponding portal and initiate a test video call to confirm that your connection, camera, and microphone are working correctly.
After this initial verification, the system will ask you to enter your ID card or Foreigner's Identification Number (NIE) and the verification information , just like in other online registrations. You must check a box confirming that the video call test has been performed and then click on "Access video assistance".
If the service is available, an estimated wait time will be displayed on the screen until an agent can assist you. Once the call begins, the person on the other end will ask you to show your ID to the camera and may ask you some questions to verify your information.
After verification, your registration with Cl@ve is completed and you will be provided with the necessary information to activate your Permanent Cl@ve and download the registration receipt, usually the same as in the other online methods.
Register in Cl@ve with an electronic certificate or electronic ID card (DNIe)
If you already have an active electronic certificate or electronic ID card, the most direct and secure way to register is to use that certificate for Cl@ve . This option grants you advanced registration from the start, without any intermediate steps.
To do this, you must access the "Register with Cl@ve using a certificate or electronic ID" option on the corresponding website. Again, the first thing you will need to enter is your ID or NIE number to identify the document you will use to authenticate.
Once you select the document, the system redirects you to the certificate-based identification gateway , where you will need to choose the certificate installed in your browser or card reader and authenticate. In the case of the Spanish National Identity Card (DNIe), this involves entering your PIN and using a compatible reader.
Once the identification is complete, a form very similar to that of other registrations will open, where you must provide your mobile phone number and email address , review the data shown and accept the terms and conditions of the Cl@ve system.
At the end, the page will display the registration confirmation and the Cl@ve Permanente activation code . You can also download a PDF with the registration receipt containing that code, instructions for activating it, and the terms of service.
In-person registration at Cl@ve offices
If you prefer to handle these matters face-to-face or aren't entirely comfortable with online procedures, you can always register for Cl@ve in person at an authorized registration office. This is especially useful if you don't have a digital certificate or a mobile phone equipped for video calls or video identification.
To use this option, you usually need to make an appointment through the website of the Tax Agency, Social Security, or the regional or local government that acts as a Cl@ve registration office. You can find the office closest to your home using the office locator.
On the day of your appointment, you must bring your original identity document . For Spanish citizens, the National Identity Document (DNI) is required; passports and driver's licenses are not usually accepted for this specific procedure. For foreign citizens, the Foreigner Identification Number (NIE) is required along with the Certificate of Registration as a Citizen of the European Union, the Foreigner Identity Card, or a residence permit.
In some cases, foreign nationals are also asked to provide additional documentation issued by their country of origin , such as a passport or travel documents, to verify their identity. All of this is checked at the counter.
At the office, you will need to provide a mobile phone number active in Spain and an email address , which will be linked to your Cl@ve account. Once the staff verifies your identity and completes your registration in the system, you will be registered and able to use Cl@ve Móvil and activate your Cl@ve Permanente.
Cl@ve Móvil (formerly Cl@ve PIN): how it works
Cl@ve Móvil, formerly known as Cl@ve PIN, is designed for occasional or relatively frequent access to electronic services. It uses the Cl@ve app to authenticate via a QR code or notification, and can also be supplemented with a temporary PIN sent by SMS.
To use it, the first step is to download the official Cl@ve app from the App Store or Google Play. Once installed, you'll need to activate it by following the steps indicated in the app itself, which generally involve verifying your mobile phone and linking it to your Cl@ve account.
When you want to access a procedure that allows this system, in the agency's identification gateway you select "Cl@ve Móvil" . The system redirects you to the identity provider's screen, where a QR code is usually displayed, ready to be scanned with your app.
If you can scan the QR code, open the app, point your camera at the code, and within seconds you'll receive an authentication request on your phone. If you can't use the QR code, you can always enter your ID card or NIE number along with the verification information (the ID card's expiration or issue date, or the NIE's support number) and confirm the transaction.
When you receive the notification in the app, you must verify that the organization and the verification code displayed on your mobile phone match those shown on the process screen . Then, accept the request using the unlock method you have configured on your device (fingerprint, pattern, PIN, facial recognition, etc.).
In certain configurations, or if you prefer, you can also receive a 6-digit PIN via SMS to complete the login process. Enter this code into your browser, confirm, and the system will automatically redirect you to the procedure you were trying to complete.
In the most classic Cl@ve PIN format, the procedure is based on:
- Download and activate the Cl@ve PIN app on your mobile phone.
- Select “Cl@ve PIN” on the access gateway to the procedure.
- Please provide your ID card or Foreigner's Identification Number (NIE) and the corresponding validity/issue date.
- Click on “Get PIN” or choose to customize part of the code by selecting a block of four characters.
- Receive a notification in the app with the generated PIN and its validity period.
- Enter the PIN in the application form and click on “Access”.
In any case, whether you use QR or PIN via SMS or notification, these are always temporary passwords , valid only for a short period of time and for a specific session.
Cl@ve Permanente: username and password with greater stability
While Cl@ve Móvil/PIN is designed for occasional access, Cl@ve Permanente functions as a long-term username and password system , intended for those who frequently access online portals. It is not unlimited, but typically has a validity of two years, after which it must be renewed.
To activate Cl@ve Permanente, you need to have previously completed your registration in the Cl@ve system through any of the available methods and have the activation code, which you'll find on the registration receipt (PDF) generated when you register. If you've lost this document, there's usually an online option to regenerate or retrieve the code.
Activation is done through the "Activate Permanent Cl@ve" option on the official website. There, you will need to enter the activation code found in the PDF and follow the on-screen instructions.
As part of the process, you will receive an SMS with a number that you must enter to continue. This ensures that the mobile phone associated with the user is indeed in your possession when you create the password.
Finally, the system will ask you to choose a password that meets minimum complexity requirements (length, combination of uppercase letters, lowercase letters, numbers, etc.). Once set, this will be the password you use along with your ID card or Foreigner's Identity Number (NIE) to access services that support Cl@ve Permanente.
If you ever forget your password, want to change it, or suspect it may have been compromised, there are specific functions for recovering or modifying your Cl@ve Permanente from the Tax Agency and Cl@ve system portals, where you will also find detailed guides and help.
Cl@ve Signature and electronic certificates in the cloud
One of the most powerful features of the system is Cl@ve Firma , which allows you to use a centralized electronic certificate, hosted and guarded by the Administration itself, without you having to install anything on your computer or device.
These “cloud certificates” make it possible for you to electronically sign documents and forms from almost any computer with an internet connection, simply by authenticating with your Cl@ve credentials, without needing to have a local certificate in the browser.
To use Cl@ve Firma, you must complete three preliminary steps :
- Having achieved a advanced level registration in Cl@ve (by certificate, electronic ID card, in person or reviewed video identification).
- Activate your Permanent Key, since it is used as the basis for the signing process.
- Generate the signing certificate on the Cl@ve platform itself, following the procedure indicated in the specific Cl@ve Firma section.
Once everything is set up, you will be able to sign procedures and documents that allow it with full legal guarantees , without the need for additional physical devices or complex configurations on your computer.
Importance of the mobile phone number in the Cl@ve system
Within the Cl@ve ecosystem, the mobile phone plays a critical role because it acts as a second authentication factor . You not only receive SMS messages with access codes, but in many cases, simply having the app active on your device is what proves that it is you logging in.
For this reason, the regulations governing the system (for example, the Resolution of December 14, 2015, from the Directorate of Information and Communication Technologies) stipulate that only one national identity card (DNI/NIE) can be associated with a single mobile phone number and vice versa. This prevents several people from sharing the same number for identification, which would compromise security.
Changing the phone number associated with a Cl@ve user is especially secure. To modify it, you will normally need to access the Tax Agency's online portal with an electronic certificate or electronic ID card (DNIe) , or manage it from the Cl@ve/Cl@ve PIN app itself, also through highly secure means, video call, or in person at a registration office.
When the system detects that the documentation provided (your ID or NIE) does not match the mobile number entered, a specific warning screen is usually displayed , informing of the inconsistency and reminding you that it is not possible to link more than one document to the same phone.
This design has been conceived to ensure that only the person who actually owns the document and the mobile phone has access to the codes, which reinforces the two-factor authentication: something you know (your document/password) and something you have (your phone).
Understanding the different registration options, security levels, and how Cl@ve Móvil, Cl@ve Permanente, and Cl@ve Firma work together allows you to choose the method that best suits your needs . With proper mobile device and credentials configuration, interacting with the government online becomes much more efficient while maintaining a high level of protection for your identity and personal data.
Table of Contents
- 1 What exactly is Cl@ve and what is it used for?
- 2 Ways to register with Cl@ve: overview
- 3 Register with Cl@ve online using an invitation letter and CSV (without a certificate)
- 4 Automatic Cl@ve registration via the Internet with video identification from the APP
- 5 Register in Cl@ve via video call with an agent
- 6 Register in Cl@ve with an electronic certificate or electronic ID card (DNIe)
- 7 In-person registration at Cl@ve offices
- 8 Cl@ve Móvil (formerly Cl@ve PIN): how it works
- 9 Cl@ve Permanente: username and password with greater stability
- 10 Cl@ve Signature and electronic certificates in the cloud
- 11 Importance of the mobile phone number in the Cl@ve system