Skip to content

Commit 30067a6

Browse files
committed
add new docs page for Octopus AI Assistant project creation
1 parent 6b840f2 commit 30067a6

5 files changed

Lines changed: 74 additions & 0 deletions

File tree

160 KB
Loading
403 KB
Loading
162 KB
Loading
133 KB
Loading
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
---
2+
layout: src/layouts/Default.astro
3+
pubDate: 2025-07-02
4+
modDate: 2025-07-02
5+
title: Project creation
6+
description:
7+
navOrder: 10
8+
---
9+
10+
The Octopus AI Assistant can create fully configured deployment projects from a simple text prompt, helping you get started with deployments quickly. Instead of manually setting up project configurations, deployment processes, targets, and environments, you can describe what you want to deploy and let the AI Assistant generate a complete project based on proven best practices. The assistant generates Terraform code which is provided to you in the chat interface to review, before approving or aborting the deployment.
11+
12+
We've trained the large language model used by the Octopus AI Assistant with hand-crafted template projects that bake in best practices for common deployment scenarios.
13+
14+
## Creating a project with Octopus AI Assistant
15+
16+
When you launch the Octopus AI Assistant, one of the examples is to create a new project:
17+
18+
![Octopus AI Assistant default prompt window](/docs/administration/octopus-ai-assistant/octopus-ai-assistant-project-creation-examples.png)
19+
20+
Selecting this will present you with our pre-configured project creation prompts, which use a scaffolded template with our best practices built in:
21+
22+
![Octopus AI Assistant pre-configured project options](/docs/administration/octopus-ai-assistant/octopus-ai-assistant-project-creation-examples-2.png)
23+
24+
25+
You can choose one of the example prompts to create an opinionated project. In the example (below), I'll select the prompt **Create an Azure Web App project called "Azure Web App"**. You can further tweak and customize the prompt based on your specific requirements, check the [expanding on the example prompts](#expanding-on-the-example-prompts) section of the documentation.
26+
27+
The Octopus AI Assistant may take 60-90 seconds to generate plan for the project. When it has generated the Terraform configuration, you will be provided with the output of `terraform plan` so you can see all resources that will be created. You can approve or abort.
28+
29+
![Deploying an Azure web app project with the Octopus AI Assistant](/docs/administration/octopus-ai-assistant/octopus-ai-assistant-project-create-azure-webapp.png)
30+
31+
After the project is created, the next step is to create and deploy a release to validate the project setup. The deployment logs provide instructions and links to help you customize your project further.
32+
33+
## Validating the project configuration
34+
35+
You'll find the newly deployed project in the list of projects on the dashboard. It's worth spending a few minutes in the project to look at what was created, especially in the process, runbooks, and variables. Some project deployments using the Octopus AI Assistant also deploy resources at the instance level of your Octopus instance, like Lifecycles and Accounts.
36+
37+
Each project deployed with our best practices has a step in the process to validate your configuration, which will help guide you through any final configurations before the project is deployable. One of the first steps you should take is to create and deploy a release, and review the deployment logs:
38+
39+
1. Open the project you deployed with the Octopus AI Assistant
40+
2. Click **Releases**
41+
3. Click **Create Release**
42+
4. Click **Save**
43+
5. Click **Deploy to Development**
44+
6. Click **Deploy**
45+
46+
When the deployment completes, go to the **Task Summary** tab for the release. The important step to check is **Step 1: Validate setup**, and review the output. This step runs a predefined script to check the configuration of your Octopus Deploy environment, and highlights any steps you need to take before you can run a deployment using this project. If we tell you an element hasn't been configured, we also provide you with a link to the documentation on how to configure it.
47+
48+
![Octopus AI Assistant pre-configured project options](/docs/administration/octopus-ai-assistant/octopus-ai-assistant-project-create-validate-setup.png)
49+
50+
You can also use the Octopus AI Assistant to help guide you through these configuration items. Treat the assistant like any other large language model chatbot. For example, you could ask:
51+
52+
```
53+
Can you help me configure an azure service principal for use from Octopus Deploy
54+
```
55+
56+
The Octopus AI Assistant will break down the steps you need to take in Azure and Octopus Deploy to create and configure the service principal.
57+
58+
## Expanding on the example prompts
59+
60+
We provide example prompts for project creation in the Octopus AI Assistant to help you get from zero to fully configured project quickly. Our default project prompts provide a starting point for what we believe great deployments look like, but we understand you will have variations on what we provide by default, for the project to work in your environment.
61+
62+
You can expand on the example prompts with variations to configure the project based on your requirements.
63+
64+
For example, you can ask the Octopus AI Assistant to configure an additional environment, and to place the project in an existing project group:
65+
```
66+
Create an AWS Lambda project called "My Lambda App" in the project group "Banking". Create an environment called "QA". Include the "QA" environment in the project lifecycle before the "Production" environment.
67+
```
68+
69+
You may want to modify the default steps in the deployment process:
70+
```
71+
Create an AWS Lambda project called "Gift Card" in the project group "Retail". Create an additional step in the deployment process called "Run smoke tests". The step should be a bash script and should test a HTTP endpoint returns a 200 status code. Add the step after the Deploy a Lambda step in the deployment process. Ensure the new step doesn't run in the Security environment.
72+
```
73+
74+
Using the Octopus AI Assistant to combine our predefined project configurations with your organization specific requirements, means you can have a fully functioning project in minutes, rather than hours.

0 commit comments

Comments
 (0)