Questa pagina descrive come creare modelli di progetto in Application Integration. I modelli di progetto sono risorse a livello di progetto e vengono creati e gestiti dal proprietario del progetto. Solo il proprietario del progetto può creare, modificare ed eliminare questi modelli di progetto.
Nel menu di navigazione, fai clic su Integrazioni.
Viene visualizzata la pagina Integrazioni, che elenca tutte le integrazioni disponibili nel progetto Google Cloud .
Seleziona un'integrazione esistente o fai clic su Crea integrazione per crearne una nuova.
Se utilizzi un'integrazione esistente, esaminala per assicurarti che sia completa e pronta per essere utilizzata come modello. Apporta le modifiche alla configurazione necessarie.
Se stai creando una nuova integrazione, aggiungi e configura le attività, i trigger e i connettori richiesti per creare il modello di integrazione.
Una volta che l'integrazione è pronta, fai clic su Modelli > Crea un nuovo modello dalla barra di navigazione dell'editor di integrazione.
L'editor integrazioni passa alla modalità modello, bloccando temporaneamente qualsiasi altra azione sull'integrazione e viene visualizzato il riquadro Crea modello.
Fornisci i seguenti dettagli nel riquadro Crea modello:
Nome modello:inserisci un nome per il modello.
Categoria:le categorie rappresentano la funzione aziendale del modello. Seleziona una o più categorie applicabili al modello.
Descrizione: (facoltativo) inserisci una descrizione per il modello.
Tag: (facoltativo) inserisci un elenco di tag separati da virgole per il modello. I tag sono parole chiave che ti aiutano a trovare e organizzare i tuoi modelli.
Come utilizzare: (facoltativo) inserisci una descrizione di come utilizzare il modello. Questa descrizione viene visualizzata nella pagina dei dettagli del modello.
Fai clic su Anteprima.
Viene visualizzato il riquadro Anteprima dettagli modello che mostra i dettagli del modello, incluse le variabili di configurazione che verranno create.
Per creare il modello, fai clic su Crea modello.
Viene creato un modello basato sull'integrazione. Per visualizzare il modello, vai alla pagina Modelli e fai clic sulla scheda Modelli di progetto.
Creare un modello da un file di importazione del modello
Per creare un modello di progetto da un file di importazione del modello, consulta Importare modelli.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-03 UTC."],[[["\u003cp\u003eProject templates in Application Integration are project-level resources that can only be created, modified, and deleted by the project owner.\u003c/p\u003e\n"],["\u003cp\u003eCreating a template requires the \u003ccode\u003eintegrations.templates.create\u003c/code\u003e permission, typically granted through the Application Integration Editor IAM role.\u003c/p\u003e\n"],["\u003cp\u003eTemplates can be created either from an existing integration, by navigating through the integration editor, or by importing a template file.\u003c/p\u003e\n"],["\u003cp\u003eWhen creating a template from an integration, key details like template name, category, description, tags, and usage instructions are required.\u003c/p\u003e\n"],["\u003cp\u003eConfig variables should be used when setting up inputs and outputs so the template can be reused in different environments.\u003c/p\u003e\n"]]],[],null,["# Create templates\n\nSee the [supported connectors](/integration-connectors/docs/connector-reference-overview) for Application Integration.\n\nCreate templates\n================\n\n|\n| **Preview\n| --- templates**\n|\n|\n| This feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis page describes how to create project templates in Application Integration. Project templates are project-level resources and are created and managed by the project owner. Only the project owner can create, modify, and delete these project templates.\n\nRequired role\n-------------\n\n\nTo get the permission that\nyou need to create templates,\n\nask your administrator to grant you the\n\n\n[Application Integration Editor](/iam/docs/roles-permissions/integrations#integrations.integrationEditor) (`roles/integrations.integrationEditor`)\nIAM role on the project.\n\n\nFor more information about granting roles, see [Manage access to projects, folders, and organizations](/iam/docs/granting-changing-revoking-access).\n\n\nThis predefined role contains the\n` integrations.templates.create`\npermission,\nwhich is required to\ncreate templates.\n\n\nYou might also be able to get\nthis permission\nwith [custom roles](/iam/docs/creating-custom-roles) or\nother [predefined roles](/iam/docs/roles-overview#predefined).\n\nCreate project templates\n------------------------\n\nYou can create a project template from an [integration](#create-template-from-integration) or from a [template import file](#create-template-from-import-file).\n\n### Create a template from an integration\n\nTo create a project template from an integration, do the following:\n\n1. In the Google Cloud console, go to the **Application Integration** page.\n\n [Go to Application Integration](https://console.cloud.google.com/integrations)\n2. In the navigation menu, click **Integrations** .\n\n The **Integrations** page appears listing all the integrations available in the Google Cloud project.\n3. Select an existing integration or click **Create integration** to [create a new one](/application-integration/docs/create-integrations).\n - If you are using an existing integration, review your existing integration to ensure that it's complete and ready to use as a template. Make any configuration changes as needed.\n - If you are creating a new integration, add and configure the required [tasks](/application-integration/docs/tasks), [triggers](/application-integration/docs/triggers), and [connectors](/application-integration/docs/configure-connectors-task) to build your integration template.\n | **Tip:** Use [Config variables](/application-integration/docs/variables#config_var) when configuring the input and output parameters of the components of your integration. This allows you to create a template that can be used in multiple environments.\n4. Once your integration is ready, click **Templates \\\u003e Create a new template** from the integration editor [navigation bar](/application-integration/docs/integration-designer-layout#nav).\n\n The integration editor switches to template mode, temporaily locking any further actions on the integration, and the **Create Template** pane appears.\n\n\n5. Provide the following details in the **Create Template** pane:\n 1. **Template name:** Enter a name for the template.\n 2. **Category:** Categories represent the business function of the template. Select one or more categories that apply to the template.\n 3. **Description:** Optionally, enter a description for the template.\n 4. **Tags:** Optionally, enter a comma-delimited list tags for the template. Tags are keywords that help you find and organize your templates.\n 5. **How to use:** Optionally, enter a description of how to use the template. This description is displayed in the template details page.\n6. Click **Preview** .\n\n The **Preview Template details** pane appears showing the details of the template including the config variables that will be created.\n7. To create the template, click **Create Template** .\n\n A template based on the integration is created. To view the template, go to the **Templates** page and click the [Project Templates](https://console.cloud.google.com/integrations/templates) tab.\n\n### Create a template from a template import file\n\nTo create a project template from a template import file, see [Import templates](/application-integration/docs/import-download-templates#import-templates).\n\nWhat's next\n-----------\n\n- Learn how to use templates to create an integration, see [Create integrations from templates](/application-integration/docs/create-integration-from-templates).\n- Learn how to import and download templates, see [import and download templates](/application-integration/docs/import-download-templates).\n- Learn how to share templates, see [share templates](/application-integration/docs/share-templates).\n- Learn how to manage templates, see [manage templates](/application-integration/docs/manage-templates)."]]