Cette page explique comment créer des modèles de projet dans Application Integration. Les modèles de projet sont des ressources au niveau du projet. Ils sont créés et gérés par le propriétaire du projet. Seul le propriétaire du projet peut créer, modifier et supprimer ces modèles de projet.
Dans le menu de navigation, cliquez sur Intégrations.
La page Intégrations s'affiche et liste toutes les intégrations disponibles dans le projet Google Cloud .
Sélectionnez une intégration existante ou cliquez sur Créer une intégration pour en créer une.
Si vous utilisez une intégration existante, vérifiez qu'elle est complète et prête à être utilisée comme modèle. Apportez les modifications nécessaires à la configuration.
Si vous créez une intégration, ajoutez et configurez les tâches, les déclencheurs et les connecteurs requis pour créer votre modèle d'intégration.
Une fois votre intégration prête, cliquez sur Modèles> Créer un modèle dans la barre de navigation de l'éditeur d'intégration.
L'éditeur d'intégrations passe en mode modèle, ce qui bloque temporairement toute autre action sur l'intégration. Le volet Créer un modèle s'affiche.
Indiquez les informations suivantes dans le volet Créer un modèle :
Nom du modèle : saisissez un nom pour le modèle.
Catégorie : les catégories représentent la fonction commerciale du modèle. Sélectionnez une ou plusieurs catégories qui s'appliquent au modèle.
Description : si vous le souhaitez, saisissez une description du modèle.
Tags : vous pouvez saisir une liste de tags pour le modèle, séparés par une virgule. Les tags sont des mots clés qui vous aident à trouver et à organiser vos modèles.
Utilisation : saisissez éventuellement une description de l'utilisation du modèle. Cette description s'affiche sur la page des détails du modèle.
Cliquez sur Aperçu.
Le volet Aperçu des détails du modèle s'affiche et présente les détails du modèle, y compris les variables de configuration qui seront créées.
Pour créer le modèle, cliquez sur Créer un modèle.
Un modèle basé sur l'intégration est créé. Pour afficher le modèle, accédez à la page Modèles, puis cliquez sur l'onglet Modèles de projet.
Créer un modèle à partir d'un fichier d'importation de modèle
Pour créer un modèle de projet à partir d'un fichier d'importation de modèle, consultez Importer des modèles.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/03 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 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)."]]