Create Application
In this section, you will find:
- How to create Applications
To create the Application, you have two options:
1. Create via the STK CLI using the beta create app
command.
2. Create on StackSpot website.
1. Create an Application via STK CLI
Requirements
- STK CLI installed and a Workspace member.
- Access a Studio.
- You need a Stack and a Starter.
Follow the steps below:
Step 1. In your terminal, select your Workspace. Execute the command:
stk use workspace <WORKSPACE-NAME>
Step 2. To create the application, execute:
stk create app [APP_NAME] --starter [STUDIO/STACK/STARTER]
For example:
stk create app my-app-name --starter my-studio/my-stack/starter-name
Step 3. Register your Application to the account:
stk register app
And commit to a Git repository:
git init
git add .
git commit -m "first commit"
git push
Done! You created your application.
2. Create an application via StackSpot Website
Requirements
- You need to have a Stack and a Starter.
- You need to be in a Workspace.
Follow the steps below:
Step 1. Access your Workspace and click on 'Create Application' on the left side menu;
Step 2. Select a Stack and a Starter, which is a predefined template with the specifications of a set of Plugins. Click on 'Next';
Step 3. At the 'Create Application' screen, enter your Application information;
Step 4. On the 'Source Code Repository' screen, choose the repository to create your application. There are two ways:
Create a repository from scratch: Fill out the fields with the information:
- Name: Repository name, i.e. the application.
- Visibility: The repository visibility. It can be public or private on GitHub.
- Description: Describe what your application is for.
Use an existing repository: Fill out the fields with the information:
- Name: Name of the existing repository you want to use to create the application.
- URL: The URL of the repository.
- Description: Describe what your application is for.
Step 5. Fill out the inputs for each Plugin that was configured in Starter. Select the Connections Interface you need;
If there are contexts defined, some (or all) variables will already be filled out. And, when variables are mandatory, you can't change them.
Step 6. In the Relational Repository, change the connection-pool-size
values of the available environments to create the application. You cannot do this when the values are mandatory.
You can also set another Connection Interface for the RDS Conn
, if it is also not mandatory.
Step 7. Reset the DynamoDB Repository and SQS Consumer Connection Interface. If it is mandatory, just click 'Next';
Step 8. Review and then Commit
After filling in the variables or accepting them, it generates a YAML file. It shows a summary of the Application. The YAML indicates how the application will be provisioned.
See below the YAML file, and click on 'Commit' to upload the application to the repository and deploy it.
You can view the information on a table, click on 'Summary'.
- Your Application was published to the Workspace.
- The commit/push of the code is done in the Git repository you added during setup.
Adding Links to your Application via StackSpot's website
You can add external tools to an Application through Links.
- You can add Links to Stacks and Plugins.
- If you add any Stack to your Application that already has a Link, they are also added. You can't delete them.
This scenario also happens with Links added in a Workspace where you created your Application.
:::
Follow the steps to add Links in your Application:
Step 1. In your Workspace, go to the 'Applications' tab. Click on the Application you want to add a Link to;
Step 2. In the bar below the application name, click on the button to the right with the Add symbol;
If the Stack you used to create the Application has a Link, you will see it on this bar after the deploy.
Step 3. Fill out the fields with the information. See an example:
- 'Link Name': Service Now.
- 'URL':
https://www.servicenow.com.br
. - Logo: Add an image. It's optional.
Step 4. Click on the 'Add link' button.
You added a Link to your Application.
To view all Links available in your Application, go to the Dashboard on the left side menu.
Next steps
- Deploy your Application, see the Deployment section.
- Manage the run Actions on your application.
Was this page helpful?