Creating a Structure from a GitHub Repo
For production use-cases, we recommend connecting Griptape Cloud to GitHub and storing the code for your Structures in one or more a GitHub repos.
- Connect Your GitHub Account in your Griptape Cloud account
- Install the Griptape Cloud GitHub app to your GitHub account or organization
- Be sure to allow the app access to
All Repositories
or select the specific repositories you need
- Be sure to allow the app access to
- Ensure your repository has a Structure Config YAML file. If your repository contains multiple Structures, each Structure must have a separate Structure Config YAML file.
- To learn more see Structure Config YAML
- Navigate to the Create Structure page in the Griptape Console
- Select Griptape Structure from GitHub Repo
- Select the GitHub Organization, Repository and Branch that you wish to deploy from.
- Specify the
structure_config.yaml
for this deployment - Optionally, Enable Webhook and/or add Environment Variables
- Click Create to create your Structure using the configuration details that you have entered
You can now create a Structure in the Griptape Cloud console by providing your GitHub repository information.
Quickstart With Samples and Templates
To get started with Structures in the Cloud, check out the managed-structure-template on GitHub or deploy one of the griptape-sample-structures from GitHub.