---
title: "Complete app installation"
method: POST
path: "/user/{appId}/complete-installation"
tags: ["User"]
---

# Complete app installation

`POST /user/{appId}/complete-installation`

Submits the signed EIP2771 data to Gelato relay to complete the installation

## Path parameters

- `appId` number, required

## Request body

- CompleteInstallationRequest
  - `userControllerAddress` string, required — EOA address that controls the user smart wallet
  - `agentSignerAddress` string, required — The PKP address that will be used as the agent signer
  - `appInstallation` object, required — Signed EIP2771 typed data for permitAppVersion transaction
    - `typedDataSignature` string, required — The signature of the EIP2771 typed data
    - `dataToSign` object, required — The original EIP2771 typed data that was signed
  - `agentSmartAccountDeployment` object, required — Signed UserOperation for smart account deployment
    - `typedDataSignature` string, required — The signature of the UserOperation message hash
    - `userOperation` object, required — The UserOperation that was signed for smart account deployment
  - `sessionKeyApproval` object, required — Signed permission account data for session key approval
    - `typedDataSignature` string, required — The signature of the session key approval EIP-712 typed data

## Response `200`

Installation completed successfully

- CompleteInstallationResponse
  - `deployAgentSmartAccountTransactionHash` string, required — Transaction hash for smart account deployment
  - `serializedPermissionAccount` string, required — Serialized permission account that can be used by the PKP to sign transactions. The permission plugin will be automatically enabled on-chain when the PKP submits its first UserOperation.
  - `completeAppInstallationTransactionHash` string, required — Transaction hash for permitAppVersion (app installation completion)

## Other responses

- `400` — Bad request
- `404` — App not found
- `default` — Error

---

[API](https://skmtc.net/lit-protocol/apis/vincent-registry-api.md) · [All operations](https://skmtc.net/lit-protocol/apis/vincent-registry-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lit-protocol/vincent-registry-api/versions/825608de85fb/schema)
