--- title: "Configuring the activation code and initial Admin password" slug: "configuring-the-activation-code-and-initial-admin-password-2" tags: ["Endpoint Security (HX)", "Product Usage"] updated: 2026-09-09T22:45:38Z published: 2026-09-09T22:45:38Z canonical: "docs.trellix.com/configuring-the-activation-code-and-initial-admin-password-2" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.trellix.com/llms.txt > Use this file to discover all available pages before exploring further. # Configuring the activation code and initial Admin password This topic describes how to apply the activation code to the virtual appliance instance and configure a password for the initial admin user. ### Important This procedure is optional. If you skip this procedure, you will be prompted to enter the activation code and change the password when you log into the initial SSH session to perform the initial configuration of the appliance. To apply the activation code to the instance: 1. Open the EC2 Management Console. 2. Select **Instances** > **Instances** in the left pane. 3. Right-click the instance, and select **Instance State** > **Stop**. 4. Right-click the instance, and select **Instance Settings** > **View/Change User Data**. ![AWS_ActivationCode_scap.png](https://cdn.us.document360.io/0d453a50-e1da-4d4a-9409-fea7959614d8/Images/Documentation/uuid-7cf784d6-2678-a027-dbbc-81a821f5e966.png?sv=2026-02-06&spr=https&st=2026-11-20T10%3A28%3A22Z&se=2026-11-20T11%3A28%3A22Z&sr=c&sp=r&sig=YHO9GN1LOE%2FQtEF02l7N56ZMphwMjmw7jB5AxsTVB%2Bo%3D) 5. Copy and paste the following script in the **User Data** field. Replace` <code> `with the activation code for the instance that was included in the onboarding email from Trellix and replace` <password> `with the new password for the initial admin user. ``` { "va_bootstrap": {      "activation_code": "",     "reset_admin_password": "" ``` ```                 } } ``` ### Important The syntax (including the indentation) must match what is shown in this step. Otherwise, you will be unable to establish a password-authenticated SSH session with the instance. 6. Click **Save**. 7. Right-click the instance, and select **Instance State** > **Start**. ### Note Trellix recommends that you clear the user data field after the virtual appliance is deployed. :