Prerequisites
Before you begin, make sure you have:- A GitHub account
- VS Code with the following extensions installed:
- AL Language
- Git
- PowerShell
- Docker Desktop installed and running locally
Choose Your Template
AL-Go for GitHub provides two template repositories depending on your project type:AL-Go-PTE
For Per Tenant Extensions - Start here if you’re building extensions for specific Business Central tenants
AL-Go-AppSource
For AppSource Apps - Start here if you’re building apps to publish on Microsoft AppSource
This quickstart uses the AL-Go-PTE template. The process is nearly identical for AppSource apps.
Create Your Repository
Create from template
Navigate to https://github.com/microsoft/AL-Go-PTE and click Use this template, then select Create a new repository.
Configure repository
Enter a repository name (e.g., app1), choose whether to make it Public or Private, and click Create Repository.
Create your first app
In your new repository:
- Go to Actions → Show more workflows…
- Select Create a new app → Run workflow
- Fill in the form:
- Name: Your app name
- Publisher: Your publisher name
- ID range: e.g.,
55000..55100 - Direct Commit: ✓ (checked)
- Click Run workflow
Set Up Local Development
Clone the repository
- In your GitHub repository, click the Code button and copy the HTTPS clone URL
- Open VS Code
- Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
- Select Git Clone
- Paste the clone URL and select a local folder
Open the workspace
When prompted, open the cloned repository and then open the workspace file when VS Code asks you.
You can rename the
al.code-workspace file to something more descriptive to distinguish between multiple workspaces.Run the local development environment script
- In VS Code, navigate to the
.AL-Gofolder - Open the
localDevEnv.ps1script - Click Run to execute the PowerShell script
Configure your local container
Answer the prompts:
- Container name: Choose a name for your local Business Central container
- Authentication mechanism: Select your preferred authentication (e.g., UserPassword)
- Credentials: Provide username and password
- License file: Select none for development
Start Developing
Modify and test your app
- Open the
HelloWorld.alfile in your app folder - Modify the message string to personalize it
- Press F5 to compile and deploy
Commit Your Changes
Review changes
Back in VS Code, you’ll notice that in addition to your
HelloWorld.al changes, the launch.json file was also modified with your local environment information.Stage, commit, and sync
- Stage your changes (click the + icon in the Source Control panel)
- Enter a commit message
- Click Commit
- Click Sync Changes to push to GitHub
View the CI/CD workflow
- Go back to your repository on github.com
- Click Actions to see your workflows running
- Wait for the build to complete
Next Steps
Congratulations! You’ve successfully created your first AL-Go for GitHub repository and developed your first app. Here’s what you can explore next:Add Tests
Learn how to add automated testing to your project
Set Up Deployment
Register environments for continuous deployment
Create a Release
Package and release your application
Take the Workshop
Complete the full AL-Go workshop for in-depth learning
Troubleshooting
If you encounter issues during setup, check that:
- Docker Desktop is running
- You have sufficient disk space for the Business Central container
- Your network allows downloading container images
- You’re using compatible versions of VS Code extensions