Skip to content

Your First Project

This guide walks you through building a data solution in ADL from scratch. You’ll set up connections, create data objects, define mappings, choose templates, and generate output — covering the full end-to-end workflow.

By the end of this guide, you’ll have:

  • A project with source and target connections
  • Data objects representing tables in both systems
  • Mappings that describe how data flows from source to target
  • Templates assigned to your target objects
  • Generated SQL scripts ready for deployment
  • ADL is open in your browser
  • You’ve completed the Getting Started guide (or have an empty project folder ready)

Start by creating the connections that represent your data stores.

  1. Navigate to the Connections screen from the sidebar.
  2. Create a source connection — this represents where your data comes from. Give it a descriptive name like “Source System” and set the connection type to match your source database.
  3. Create a target connection — this represents where your data is going. For example, “Staging Area” with the appropriate connection type and schema details.

Think of connections as labels for the different layers in your data architecture. They tell ADL (and your templates) where each data object lives.

Next, define the tables or views you’ll be working with.

  1. Navigate to the Data Objects screen.
  2. Create a data object for a source table — give it a name (e.g., “Customer”) and assign it to your source connection.
  3. Add Data Items (columns) to your source object — for example, CustomerId (INT), CustomerName (NVARCHAR(100)), Email (NVARCHAR(255)).
  4. Create a data object for the corresponding target table — assign it to your target connection and add the same columns, plus any additional audit columns your pattern requires.

Repeat for as many tables as you’d like to include.

Mappings tell ADL how data flows from source to target.

  1. Navigate to the Data Object Mappings screen.
  2. Create a new mapping, selecting your source object and target object.
  3. Add Data Item Mappings for each column — mapping CustomerIdCustomerId, CustomerNameCustomerName, and so on.
  4. Set any business keys — for example, CustomerId as the key used for matching records.

Templates define what output ADL will generate for each data object.

  1. Go back to the Data Objects screen and select your target object.
  2. Add a template mapping — this links a template to the data object.
  3. Choose a template from the library. For a staging table, you might pick a CREATE TABLE DDL template. For a loading procedure, pick a stored procedure template.
  4. Repeat for each target object that needs generated output.

Before generating everything, it’s a good idea to check that your templates produce the expected output.

  1. Navigate to the Code Preview screen.
  2. Select one of your target objects and its assigned template.
  3. Review the generated output — does it look right? If not, adjust your metadata or template and check again.
  4. Once you’re happy, go to the Code Generator screen.
  5. Generate all output — ADL will process every mapping and write the results to your output folder.

Your generated files are now in the output folder of your project. From here:

  • Review the files — Open them in your favorite editor or browse them on the Files screen.
  • Commit to your repository — Add the generated files to Git alongside your metadata and templates.
  • Deploy — Use your normal deployment process (CI/CD pipeline, manual execution, etc.) to apply the generated scripts to your target environment.