Prerequisites
Before you begin, ensure you have:- A GitHub account
- VS Code with the following extensions installed:
- AL Language
- Git
- PowerShell
- Docker installed locally
Create Your Repository
Use the AL-Go PTE template
Navigate to https://github.com/microsoft/AL-Go-PTE and choose Use this template, then select Create a new repository.
You can choose to make your repository either Public or Private based on your needs.
Create Your First App
Run the Create a new app workflow
In your new repository:
- Select Actions → Show more workflows…
- Choose Create a new app → Run workflow
Configure app settings
Enter the following information:
- Name: Your app name
- Publisher: Your publisher name
- ID range: The object ID range for your app
Set Up Local Development
Clone the repository
- Click the Code button and copy the HTTPS clone URL
- In VS Code, press Ctrl+Shift+P and select Git Clone
- Paste the clone URL and select a folder for your repository
Open the workspace
Open the cloned repository and the workspace file when VS Code prompts you.
You can rename the
al.code-workspace file to something more descriptive to better distinguish between multiple workspaces.Run the local development environment script
- In the
.AL-Gofolder, locate thelocalDevEnv.ps1script - Run the PowerShell script
- Answer the questions about:
- Container name
- Authentication mechanism
- Credentials
- License file (select none for development)
Test Your Development Environment
Modify and deploy your app
- Open the
HelloWorld.alfile - Modify the string content
- Press F5 to deploy
Commit Your Changes
Stage and commit
In VS Code, you’ll notice that both your
HelloWorld.al changes and the launch.json file have been modified with local environment information.- Stage your changes
- Commit with a meaningful message
- Sync to push to GitHub
Next Steps
Configure Settings
Customize your AL-Go project settings for your specific needs
Manage Secrets
Set up authentication and secrets for deployment
Register Environments
Configure sandbox and production environments for deployment
Create Releases
Learn how to create and publish releases
Workflow Insights
To inspect detailed workflow execution:
- Click on a completed build
- Select the build job
- Expand the Run Pipeline section
- View the Compiling apps subsection for detailed compilation logs