Set up VNPT eContract
How an administrator registers VNPT eContract credentials, pastes the callback URL and maps signers, and how members connect.
In plain words: VNPT eContract is a partner platform that hosts contracts and runs the signing. Setting it up has two halves. An administrator registers your organization with VNPT, saves the credentials VNPT issues, pastes a callback URL into VNPT's portal, and optionally maps members to VNPT signing accounts. Then each sender connects their own VNPT login. A callback URL is the address VNPT uses to tell E-Sign that something happened to a contract, such as a signature. To compare VNPT with FPT first, see eContract: sign on a partner platform.
Where to find it: In E-Sign, open Settings at the bottom of the left sidebar. Administrators use eContract under Integrations (tab VNPT eContract). Members use Accounts under Integrations (tab eContract Accounts). Who can use it: Administrators configure the connection. Any member can connect their own login afterwards.
Before you start
Your organization must be registered with VNPT eContract. You register directly with VNPT: contact them to have your organization set up. E-Sign cannot do the registration for you.
Create an External Contract service for your contracts. See eContract services and parties.
Step 1 (administrator): register with VNPT and read the guideline
E-Sign includes a short guide to the VNPT registration form. It is for reference: VNPT's own form is the source of truth.
In E-Sign, open Settings at the bottom of the left sidebar, then eContract under Integrations. This page is visible to administrators only.
Select the tab VNPT eContract. The section VNPT eContract opens ("System-wide VNPT eContract integration. Members who link a VNPT account connect with these app credentials automatically.").
Under Connection model, read the notice Dedicated account. VNPT eContract always connects this way: your organization contracts directly with VNPT and receives its own integration credentials, and contracts are stored under your own VNPT account.
Select View guideline (a link in that notice, and a button under Callback). A dialog How to register with VNPT eContract opens. Its steps are:
Sign in to the VNPT partner portal at https://doitac-smartca.vnpt.vn/ and open the eContract integration registration form.
Fill in your organization and administrator details, then tick the API integration option.
Paste the callback URL into the URL Callback field. Paste it whole, including the part that starts with
?token=.Submit the registration. VNPT sends the
client_idandclient_secretto the administrator's email.
Select Close when you are done.

Step 2 (administrator): copy the callback URL into VNPT's portal
The callback URL is how VNPT tells E-Sign about signing progress. It is unique to your organization. It ends with ?token= followed by a code, and that code is what tells E-Sign which workspace the message belongs to.
On the VNPT eContract tab, find the sub-heading Callback ("Configure this once in the VNPT eContract portal so signing callbacks reach this system.").
Next to Callback URL, select Copy. The button changes to Copied.
In VNPT's registration form, paste the URL into URL Callback. Paste the whole URL. Shortening it to the path removes the code and breaks the connection.
Leave Callback Key and Callback Key Secret empty in VNPT's portal. E-Sign does not use them.

Important: Paste the full URL with the
?token=part. Without it E-Sign cannot match a VNPT message to your workspace, and contract status can lag until someone selects Sync eContract status. See eContract status, sync and cancelling.
Step 3 (administrator): save the credentials VNPT issues
When VNPT approves the registration, it emails you a Client ID and a Client secret. These identify your organization's integration to VNPT.
On the VNPT eContract tab, find Your own VNPT eContract credentials ("Issued by VNPT for this system's eContract application. Ask VNPT eContract for these after registering your organisation."). The guideline calls this part "App credentials".
In Client ID, enter the value (placeholder "VNPT-issued client_id").
In Client secret, enter the secret. Once one is saved the placeholder reads "Leave blank to keep current secret". Before the first save it reads "No client secret set yet".
Select Save credentials. A toast says "VNPT eContract credentials saved". If it fails you see "Could not save credentials" with a reason.

Step 4 (each member): connect your VNPT eContract login
A member who sends contracts connects the organization login they use at VNPT.
In E-Sign, open Settings at the bottom of the left sidebar, then Accounts under Integrations.
Select the tab eContract Accounts.
Select Connect at the top right (or Connect eContract account when the list is empty).
In the dialog Connect eContract account, set Provider to VNPT eContract. A box under it names the model, Dedicated account.
In Account name, type a label, for example "Northwind VNPT contracts". The hint reads "A label for this VNPT eContract organization account."
In TΓ i khoαΊ£n, type your VNPT eContract organization login. TΓ i khoαΊ£n is Vietnamese for "account". The hint reads "VNPT eContract organization login."
In MαΊt khαΊ©u, type your password. MαΊt khαΊ©u is Vietnamese for "password".
Select Connect. A toast says "VNPT eContract account connected." and the account appears in the list.
Connecting the same login again refreshes the account instead of creating a copy.

Step 5 (administrator, optional): map signers to VNPT signing accounts
VNPT organizations have internal signing accounts: individual signer identities under the organization's VNPT account. When a signer is tied to an internal account and has linked it in E-Sign, they can sign inside E-Sign instead of from VNPT's email. See Sign an eContract contract.
The Signer mapping sub-heading lets you set this up once for each member, so it fills in automatically when someone prepares a contract. It reads: "Map each member to a VNPT internal signing account and default sign methods. At propose time an internal signer's account auto-fills from here (still editable). Without a mapping, a member's own linked account is used."
Make sure at least one VNPT eContract account is connected (Step 4). The rows appear once E-Sign can read that account's internal signing accounts. Otherwise the section says "Connect a VNPT eContract account first: the account you send contracts from populates the picker with its internal signing accounts."
On the VNPT eContract tab, under Signer mapping, select Add member. A row appears.
In Signer, search by name or @username ("Search name or @usernameβ¦") and pick the member. A member can appear in one row only.
In Internal account, pick the VNPT signing account for that member (the empty choice reads "Select account").
In Default methods, tick the sign methods this member may use (placeholder "Select methods"). New rows start with all methods ticked. See the table below.
Repeat for each member. Use the bin icon to remove a row.
Select Save mapping. A toast says "Signer mapping saved" followed by the number of rows saved. Rows missing a signer or an account are left out.

Sign method | Where it happens | What the signer does |
|---|---|---|
Image sign | Inside E-Sign | Applies their signature image |
SMS OTP | Inside E-Sign | Enters a code sent by SMS |
Email OTP | Inside E-Sign | Enters a code sent by email |
Smart CA | Inside E-Sign | Signs in to SmartCA and approves in the SmartCA app |
USB Token | On VNPT's portal | Finishes from VNPT's email |
Email OTP + eKYC | On VNPT's portal | Finishes from VNPT's email |
SMS OTP + eKYC | On VNPT's portal | Finishes from VNPT's email |
VNeID | On VNPT's portal | Finishes from VNPT's email |
An OTP is a one-time password: a short code that proves the person has the phone or mailbox. eKYC is an identity check done on screen, usually with a photo of an ID and a face. SmartCA is VNPT's remote certificate service.
If the section instead says the account is connected but its internal signing accounts could not be loaded, reopen the page to retry. The account refreshes its VNPT identity when the page loads.
Without a mapping, E-Sign uses the member's own linked VNPT account. A mapping wins when both exist.
Troubleshooting
Message you see | What it means | Who fixes it | What to do |
|---|---|---|---|
"Please configure your own eContract credentials in Settings first" | You connected before Step 3 | Administrator | Save the Client ID and secret, then connect again |
"This VNPT eContract account is already connected by another user (#id)" | A colleague already connected this login | You | Ask that colleague to share the contract work, or use a different VNPT login |
"This account is missing its stored connection credentials, please remove it and connect again" | The saved login on this account is incomplete | You | Remove the account in Accounts, then connect it again |
"Connect failed" | The connection did not complete. The reason is shown with the message | You or VNPT | Read the reason, check TΓ i khoαΊ£n and MαΊt khαΊ©u, and try again. If it persists, contact VNPT |
"Could not save credentials" | Saving the Client ID or secret failed | Administrator | Check both values and try again |
"Could not save mapping" | Saving the mapping failed | Administrator | Reload the page and save again |
"No members mapped yet." | No rows exist | Administrator | Select Add member |
"No members found." | Your search matches nobody, or everyone is already mapped | Administrator | Change the search |
"You need admin permission to configure eContract providers." | You are not an administrator | Administrator | Ask an administrator |
For more, see Connecting and account errors.