Overview
When you use a solution over and over again, it’s a good idea to turn it into a Template. This how to guide will walk you through the steps needed to create a repeatable solution as a Blueprint.
Steps
Step 1 - Initial Setup
-
Navigate to the
Templatespage using the side navigation -
Click Manage in the top right corner
-
Use the toggle on the left to select Library Templates or Client Templates
-
Library Templates are global and accessible in all clients
-
Client Templates are specific to the individual client, and cannot be seen or installed outside of that client
-
-
Click the New Template button in the top-right.
-
Select the language that you want to use to build your Template.
Step 2 - Create Inputs
All of the information on this tab is optional, but strongly recommended.
-
Follow this how to guide on creating Template Variables. → How-To: Understand and Create Template Variables
-
Repeat until you’ve created all of the variables you need.
-
Give your Blueprint a description that indicates what exactly it will do.
-
Click Preview this Template to verify that everything looks exactly as you want.
-
Click Next Step once you’re done.
Step 3 - Provide Code
All of the information on this tab is required.
-
Provide the code for your solution, using any of the available methods.
-
Select the code version (like Python 3.11 vs 3.13)
-
Add any arguments you want to pass to your script → How-To: Understanding and Utilizing Arguments
-
Provide the File to Run to execute your script properly.
-
Click Next Step once you’re done.
Note: If creating a global template the code should live in alli-marketplacev2-backend-templates repo. See best practices here.
Step 4 - Define Requirements
All of the information on this tab is optional.
-
Provide any environment variables that your script uses. → How-To: Understand and Create Environment Variables
-
Provide any external packages that your script needs to use.
-
Click Next Step once you’re done.
Step 5 - Settings
-
Give your Teamplate a unique, descriptive name.
-
Give your Blueprint a synopsis that describes what it should be used for.
-
Provide a support contact - this is an open field and not required but highly encouraged. A Slack channel or team name is best, to give support ample information to ensure they can connect support to the right folks.
-
If desired, update the visibility or the guardrails.
-
No One - Template will be accessible via the manage page to edit or adjust, but it is not available anywhere to install
-
Power Users - Power Users can install through the workflow builder to integrate as a part of a workflow
-
Enabled - Internal - Every
-
Enabled - Public - Everyone across all clients can install
-
-
Click Save and Finish once you’re done
You’ve now successfully created a Template!