<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.docs.modulesgarden.com/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.docs.modulesgarden.com/index.php?action=history&amp;feed=atom&amp;title=App_Templates_Tool</id>
		<title>App Templates Tool - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.docs.modulesgarden.com/index.php?action=history&amp;feed=atom&amp;title=App_Templates_Tool"/>
		<link rel="alternate" type="text/html" href="https://www.docs.modulesgarden.com/index.php?title=App_Templates_Tool&amp;action=history"/>
		<updated>2026-04-05T12:22:28Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.0</generator>

	<entry>
		<id>https://www.docs.modulesgarden.com/index.php?title=App_Templates_Tool&amp;diff=78198&amp;oldid=prev</id>
		<title>Karolina: /* Groups */</title>
		<link rel="alternate" type="text/html" href="https://www.docs.modulesgarden.com/index.php?title=App_Templates_Tool&amp;diff=78198&amp;oldid=prev"/>
				<updated>2025-11-03T12:05:27Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Groups&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 12:05, 3 November 2025&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|To make templates available for installation, go to the product’s [[#ATC|module settings]] and select the desired groups under '''App Templates Configuration → Default Application Group'''.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|To make templates available for installation, go to the product’s [[#ATC|module settings]] and select the desired groups under '''App Templates Configuration → Default Application Group'''.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Also, ensure that the '''App Templates''' option is enabled under '''Client Area Features'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Also, ensure that the '''App Templates''' option is enabled under '''Client Area Features'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;|}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;{|&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:App_19.png]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{|&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{|&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Karolina</name></author>	</entry>

	<entry>
		<id>https://www.docs.modulesgarden.com/index.php?title=App_Templates_Tool&amp;diff=78195&amp;oldid=prev</id>
		<title>Karolina: /* Management */</title>
		<link rel="alternate" type="text/html" href="https://www.docs.modulesgarden.com/index.php?title=App_Templates_Tool&amp;diff=78195&amp;oldid=prev"/>
				<updated>2025-11-03T11:57:12Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Management&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 11:57, 3 November 2025&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 13:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|style=&amp;quot;padding: 10px 0px 30px 15px;&amp;quot;|The '''App Templates''' section in the admin area consists of two main parts: '''Applications''' and '''Groups'''.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|style=&amp;quot;padding: 10px 0px 30px 15px;&amp;quot;|The '''App Templates''' section in the admin area consists of two main parts: '''Applications''' and '''Groups'''.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can create templates under the '''Applications''' tab and gather them into groups under the '''Groups''' tab.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can create templates under the '''Applications''' tab and gather them into groups under the '''Groups''' tab.&amp;lt;br/&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;For clients to install applications on their VPS, the product must include an '''[[#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ATC&lt;/del&gt;|Application Group]]''' and allow '''[[#&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;CAF&lt;/del&gt;|App Templates]]''' in the client area.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;For clients to install applications on their VPS, the product must include an '''[[#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Groups&lt;/ins&gt;|Application Group]]''' and allow '''[[#&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Applications&lt;/ins&gt;|App Templates]]''' in the client area.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;|}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Karolina</name></author>	</entry>

	<entry>
		<id>https://www.docs.modulesgarden.com/index.php?title=App_Templates_Tool&amp;diff=78194&amp;oldid=prev</id>
		<title>Karolina: Created page with &quot;&lt;meta name=&quot;keywords&quot; content=&quot;modulesgarden app templates, modulesgarden app templates configuration, modulesgarden app templates management, modulesgarden app templates guid...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.docs.modulesgarden.com/index.php?title=App_Templates_Tool&amp;diff=78194&amp;oldid=prev"/>
				<updated>2025-11-03T11:40:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;meta name=&amp;quot;keywords&amp;quot; content=&amp;quot;modulesgarden app templates, modulesgarden app templates configuration, modulesgarden app templates management, modulesgarden app templates guid...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;meta name=&amp;quot;keywords&amp;quot; content=&amp;quot;modulesgarden app templates, modulesgarden app templates configuration, modulesgarden app templates management, modulesgarden app templates guide, modulesgarden app templates examples, modulesgarden app templates cloud-init, modulesgarden app templates documentation, modulesgarden app templates wiki, whmcs app templates, whmcs app templates guide, whmcs app templates docs&amp;quot;&amp;gt;&amp;lt;/meta&amp;gt;&lt;br /&gt;
&amp;lt;meta name=&amp;quot;description&amp;quot; content=&amp;quot;ModulesGarden Wiki Contains All The Information You Need About The App Templates Feature Used Across VPS Modules.&amp;quot;&amp;gt;&amp;lt;/meta&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=About App Templates Tool=&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 10px 0px 30px 0px;&amp;quot;|The ''App Templates'' tool allows you to manage ready-to-use application templates that clients can install directly on their virtual machines.&amp;lt;br/&amp;gt;&lt;br /&gt;
Templates are created in the '''Applications''' tab and grouped in the '''Groups''' tab, which can later be assigned to products.&amp;lt;br/&amp;gt;&lt;br /&gt;
This feature provides a simple way to manage templates and organize groups, ensuring clients can deploy preconfigured applications on their VPS with ease.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
=Management=&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 10px 0px 30px 15px;&amp;quot;|The '''App Templates''' section in the admin area consists of two main parts: '''Applications''' and '''Groups'''.&amp;lt;br/&amp;gt;&lt;br /&gt;
You can create templates under the '''Applications''' tab and gather them into groups under the '''Groups''' tab.&amp;lt;br/&amp;gt;&lt;br /&gt;
For clients to install applications on their VPS, the product must include an '''[[#ATC|Application Group]]''' and allow '''[[#CAF|App Templates]]''' in the client area.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Applications==&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 10px 0px 15px 15px;&amp;quot;|Read the guide carefully as it explains the key functions of the ''App Templates'' feature.&amp;lt;br/&amp;gt;&lt;br /&gt;
You can hide the information panel after reading by clicking the “Hide” button.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_8.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|Switch between ''Applications'', ''ISO Images'', ''Operating Systems'', and ''Snapshots'' using the available tabs.&amp;lt;br/&amp;gt;&lt;br /&gt;
Keep in mind that the applications section differs per module. The following example comes from the Vultr VPS module. &lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_9.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 15px;&amp;quot;|Use the refresh button to download and update the list of templates from your connected platform.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_10.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|Once the templates are loaded, you can use the action buttons to edit, duplicate, or delete them.&amp;lt;br/&amp;gt;&lt;br /&gt;
Mass action buttons are also available for bulk operations.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 30px 25px;&amp;quot;|[[File:VT_19_11.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Groups==&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 10px 0px 15px 15px;&amp;quot;|After preparing your templates, group them to make them available to clients through selected products.&amp;lt;br/&amp;gt;&lt;br /&gt;
Go to '''App Templates → Groups''' and click on '''Create'''.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_15.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|When creating a group, provide:&lt;br /&gt;
*'''Name'''&lt;br /&gt;
*'''Description'''&lt;br /&gt;
*'''Templates''' to include&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_16.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|You can edit or delete groups individually or use mass actions to manage several at once.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_17.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|To make templates available for installation, go to the product’s [[#ATC|module settings]] and select the desired groups under '''App Templates Configuration → Default Application Group'''.&amp;lt;br/&amp;gt;&lt;br /&gt;
Also, ensure that the '''App Templates''' option is enabled under '''Client Area Features'''.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 30px 25px;&amp;quot;|[[File:VT_19_19.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Advanced Configuration==&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 10px 0px 30px 15px;&amp;quot;|The ''App Templates'' feature supports detailed configuration, including manual application addition, user-data scripting, and advanced variables.&amp;lt;br/&amp;gt; The examples below illustrate these options.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Adding Applications Manually===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 10px 0px 15px 15px;&amp;quot;|1. You can manually add a single application instead of importing all templates at once.&amp;lt;br/&amp;gt;&lt;br /&gt;
1. Navigate to '''App Templates → Applications''' and click on '''Create'''.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_14_1.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 5px 15px;&amp;quot;|2. List the supported applications provided by your virtualization platform’s API.&amp;lt;br/&amp;gt;&lt;br /&gt;
Each platform has different API endpoints to retrieve application data.&amp;lt;br/&amp;gt;&lt;br /&gt;
In the case of '''Vultr''', the command to access the list can be found in the [https://www.vultr.com/api/#tag/application/operation/list-applications official documentation].&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure to include your API Key, the request looks like this:&lt;br /&gt;
 curl &amp;quot;https://api.vultr.com/v2/applications&amp;quot; \&lt;br /&gt;
  -X GET \&lt;br /&gt;
  -H &amp;quot;Authorization: Bearer ${VULTR_API_KEY}&amp;quot;&lt;br /&gt;
Example result:&lt;br /&gt;
&lt;br /&gt;
 {&lt;br /&gt;
 &amp;quot;applications&amp;quot;: [&lt;br /&gt;
 {&lt;br /&gt;
 &amp;quot;id&amp;quot;: 1,&lt;br /&gt;
 &amp;quot;name&amp;quot;: &amp;quot;LEMP&amp;quot;,&lt;br /&gt;
 &amp;quot;short_name&amp;quot;: &amp;quot;lemp&amp;quot;,&lt;br /&gt;
 &amp;quot;deploy_name&amp;quot;: &amp;quot;LEMP on CentOS 6 x64&amp;quot;,&lt;br /&gt;
 &amp;quot;type&amp;quot;: &amp;quot;one-click&amp;quot;,&lt;br /&gt;
 &amp;quot;vendor&amp;quot;: &amp;quot;vultr&amp;quot;,&lt;br /&gt;
 &amp;quot;image_id&amp;quot;: &amp;quot;&amp;quot;&lt;br /&gt;
 }&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|3. Enter the application details such as '''Name''', '''Description''', '''Status''', and optionally assign an '''icon'''.&amp;lt;br/&amp;gt;&lt;br /&gt;
We recommend using the ''name'' or ''deploy_name'' from the API response for easier reference.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_14_2.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|4. Edit your new application and open the '''Setting Details''' section.&amp;lt;br/&amp;gt;&lt;br /&gt;
Create entries based on the API output - each entry corresponds to a parameter used when deploying the application.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_14_3.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|For example, if the API returns:&lt;br /&gt;
 &amp;quot;id&amp;quot;: 1,&lt;br /&gt;
 &amp;quot;image_id&amp;quot;: &amp;quot;&amp;quot;,&lt;br /&gt;
 &amp;quot;user_data&amp;quot;: &amp;quot;&amp;quot;&lt;br /&gt;
then create fields such as ''id'', ''image_id'', and optionally ''user_data'' if supported.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_14_5.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 15px;&amp;quot;|Each field includes:&lt;br /&gt;
*'''Name''' – the parameter name (same as in the API)&lt;br /&gt;
*'''Default Value''' – the API’s value or your preferred default&lt;br /&gt;
*'''Visibility''' – whether the client can modify the value&lt;br /&gt;
*'''Validation''' – optional [https://laravel.com/docs/11.x/validation Laravel validation rule], e.g. `required`&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 30px 25px;&amp;quot;|[[File:VT_19_14_6.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Including Cloud-Init / User-Data Scripts===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|If the selected application or system image supports ''user-data'' or ''cloud-init'' scripts, the ''user_data'' field will appear automatically.&amp;lt;br/&amp;gt;&lt;br /&gt;
This field lets you execute initialization tasks such as writing configuration files or running commands on first boot.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_14_7.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|Example:&lt;br /&gt;
&lt;br /&gt;
 #cloud-config&lt;br /&gt;
 write_files:&lt;br /&gt;
  - path: /etc/motd&lt;br /&gt;
    content: |&lt;br /&gt;
      Welcome to your server, {$client.email}!&lt;br /&gt;
 &lt;br /&gt;
 runcmd:&lt;br /&gt;
  - apt update&lt;br /&gt;
  - apt install nginx -y&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_14_8.png]]&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 15px;&amp;quot;|If ''Visibility'' is enabled, the client can modify the script before deployment. Otherwise, it will execute silently on creation.&lt;br /&gt;
|}&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 20px 25px;&amp;quot;|[[File:VT_19_14_9.png]]&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===How To Use Variables===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|You can use merge fields (variables) to dynamically insert values into script content or configuration fields.&amp;lt;br/&amp;gt;&lt;br /&gt;
Supported variables depend on the module and provisioning context. Examples include:&lt;br /&gt;
* '''{$service.id}''' - the WHMCS service ID&lt;br /&gt;
* '''{$client.email}''' - client’s email address&lt;br /&gt;
* '''{$password}''' - the generated password for the instance&lt;br /&gt;
* '''{$hostname}''' - server hostname&lt;br /&gt;
* '''{$domain}''' - domain name of the service&lt;br /&gt;
&lt;br /&gt;
Variables can be used in any editable text field, for example:&lt;br /&gt;
&lt;br /&gt;
 write_files:&lt;br /&gt;
  - path: /etc/motd&lt;br /&gt;
    content: |&lt;br /&gt;
      Welcome to {$hostname} managed by {$client.email}!&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
===Jak includować jeden config w drugim===&lt;br /&gt;
{|&lt;br /&gt;
|style=&amp;quot;padding: 0px 0px 15px 15px;&amp;quot;|To include configuration fragments between templates, you can reference another setting using the ''{$settingName}'' syntax.&amp;lt;br/&amp;gt;&lt;br /&gt;
This lets you reuse predefined configuration blocks instead of duplicating them.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;yaml&amp;quot;&amp;gt;&lt;br /&gt;
write_files:&lt;br /&gt;
 - path: /etc/app.conf&lt;br /&gt;
   content: |&lt;br /&gt;
     Database user: {$db_user}&lt;br /&gt;
     Password: {$db_password}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Here, ''{$db_user}'' and ''{$db_password}'' values are automatically pulled from other settings defined in the same template.&lt;br /&gt;
|}&lt;br /&gt;
--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Karolina</name></author>	</entry>

	</feed>