Exercise - Set up the development environment
To get started writing extensions for Business Central, you'll need a Dynamics 365 Business Central tenant, Visual Studio Code, and the AL Language extension. Visual Studio Code is a cross-platform editor that you'll use for coding and debugging.
Set up a sandbox environment
To set up a sandbox environment, follow these steps:
Sign up for a Dynamics 365 Business Central sandbox.
Download Visual Studio Code.
Download the AL Language extension.
Press the Alt+A, Alt+L shortcut keys to trigger the AL Go! command, and then choose a path to a new empty folder and the version to run.
Select Microsoft cloud sandbox as the server.
Enter the credentials that you provided during signup.
Press the F5 key to deploy and run the extension on your online sandbox tenant.
You now have a HelloWorld sample that compiles and runs.
The JSON files in the project are automatically updated with the settings that allow you to press the F5 key to build and deploy the solution.