Install the automation kit using the command line

To install the latest version of the automation kit using the command line, follow the steps in this article. If you're unable to use the command line tools, you can use the manual steps in Set up the automation kit and Set up satellites.

  1. Ensure that you have enabled the Power Apps component framework feature in the environments that you want to install the automation kit for both main and satellite environments.

  2. Ensure that the Creator Kit is installed into the target environment

  3. Open the latest release from the automation kit GitHub releases.

  4. From the Assets section, download AutomationKitInstall.zip by selecting it.

  5. On Windows Explorer, select the downloaded AutomationKitInstall.zip and open the Properties dialog.

  6. Select Unblock.

  7. Select AutomationKitInstall.zip > Extract All.

    A folder named AutomationKitInstall will be automatically created. You'll use this folder in step 11.

  8. Ensure that you have the Power Platform CLI installed.

  9. Execute the PowerShell script using the following command line.

cd AutomationKitInstall
powershell Install_AutomationKit.ps1

Note

Depending on your PowerShell execution policy, you might need to run the following command.

Unblock-File Install_AutomationKit.ps1
  1. The PowerShell script will prompt you to create an installation configuration file using the Automation Kit for Power Platform—Setup pages (English version).

    If you'd like to view the automation kit for Power Platform pages in a language other than English, choose from the following AI generated versions:

    Danish, Dutch (Netherlands), French, German, Italian, Japanese, Korean, Norwegian, Polish, Simplified Chinese Spanish, Swedish, Thai.

    The setup configuration pages will provide you the following components:

    • Select configuration for main or satellite solutions.

    • Select users to assign to security groups.

    • Create connections required to install the solution.

    • Define environment variables.

    • (Optional) Define if sample data should be imported.

    • (Optional) Enable Power Automate flows contained in the solutions to be enabled.

  2. After you complete the website setup steps, copy downloaded automation-kit-main-install.json or automation-kit-satellite-install.json file to the AutomationKitInstall folder.

    The AutomationKitInstall folder was automatically created when you extracted files in step 7.

  3. Once the file is downloaded, the script will prompt for y to install the main solution and n to install satellite solution.

    The install will upload start the install with the defined settings.