Skip to content

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.

  1. Connect Your GitHub Account in your Griptape Cloud account
  2. 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
  3. 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.
  4. Navigate to the Create Structure page in the Griptape Console
  5. Select Griptape Structure from GitHub Repo
  6. Select the GitHub Organization, Repository and Branch that you wish to deploy from.
  7. Specify the structure_config.yaml for this deployment
  8. Optionally, Enable Webhook and/or add Environment Variables
  9. 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.