# Configure an Application

Follow the steps below to configure the created application:&#x20;

1. From the [**Application dashboard**](https://docs.opsmx.com/user-guide/dashboard/application-dashboard), select the application name that you need to edit. Click the **Three dots** at the end of the application name, select **Edit Application** as shown in the image below.

![](https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FI956RSgjOk4VkuuzMItt%2Fimage.png?alt=media\&token=ae61afe1-8500-44aa-b1c5-067969f791a3)

2\.  The **Config page is** displayed, where you can modify the application's attributes. Click on **Edit Application Attributes** to edit the application attributes.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FlKNTWCQOJ49ef4tHjhdr%2Fconfigure%20applicaiton%201.png?alt=media&#x26;token=f27e9cf2-911f-4a25-b479-8f6e392a8c7c" alt=""><figcaption></figcaption></figure>

3\.  The application attributes that you specified during the creation process will be displayed as shown below. Make the necessary changes and click **Update.**

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FKoOLSIjDb6xP8OTbHJMn%2Fconfigure%20applicaiton%202.png?alt=media&#x26;token=4d34977e-2733-498e-b7b8-81279bb138f2" alt=""><figcaption></figcaption></figure>

Editing an application allows you to add various features to Spinnaker like&#x20;

* [**Configuring Notifications** ](#create-pipeline-notifications)
* [**Enable or disable certain features**](#enable-or-disable-application-features)&#x20;
* [**Add Custom Instance Links**](#add-custom-instance-links)
* [**Create a traffic guard**](#designate-a-traffic-guard-cluster)&#x20;
* [**Add Custom banners**](#add-custom-banners)
* [**Delete the application entirely**](https://docs.opsmx.com/user-guide/manage-application/delete-an-application)

### **Create Pipeline Notifications**

You can send notifications after the pipeline activities are completed. Follow the steps given below to do so:

1. &#x20;From the Config page, Click **Notifications** > **Add Notification Preference** to create pipeline notifications.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F1KwnVN3eXUTYtOw6IfuV%2Fconfigure%20applicaiton%203.png?alt=media&#x26;token=5251f00a-1fac-4508-8adc-72212e76f4b8" alt=""><figcaption></figcaption></figure>

2\.  **Edit Notification** pop-up window will appear, allowing you to update the necessary columns as described in the following steps.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FPq81EMrfGXMBHaoqAP5N%2Fconfigure%20applicaiton%204.png?alt=media&#x26;token=2814c83b-e306-4bb9-83e3-fad0eb887ca4" alt=""><figcaption></figcaption></figure>

Follow the sequence as shown in the image below for steps 3 to 6.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FZFIuUmSXK95Xcgsa8UPg%2Fconfigure%20applicaiton%205.png?alt=media&#x26;token=ec0ea43a-348e-4658-959e-08be17cbe220" alt=""><figcaption></figcaption></figure>

3\.  Select a notification method from the **Notify via** drop-down box. The options are:

* Bearychat&#x20;
* Email&#x20;
* GoogleChat&#x20;
* Pubsub&#x20;
* Slack

4\.  Provide the following information based on the selected notification type:&#x20;

* Email address&#x20;
* Chat/Team webhook URL&#x20;
* Publisher name

5\.  Select the pipeline event that will trigger this notification:&#x20;

* When a pipeline started&#x20;
* When a pipeline finished&#x20;
* When a pipeline failed

6\.  Click **Update** and the newly added Pipeline Notifications appear as shown below:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FRz5T5m0mXot87b2PK8l3%2Fconfigure%20applicaiton%206.png?alt=media&#x26;token=1330b4f7-bd3b-4aee-9eed-c11aeea2176e" alt=""><figcaption></figcaption></figure>

7\.  Users can edit or remove the pipeline notifications by clicking the **Edit/Remove** option&#x73;**.**

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F2Rp5bOVuevrkYYz9NYkQ%2Fconfiguration%20application%207.png?alt=media&#x26;token=6d3b641f-ed53-41c3-90b8-485c59f9d44a" alt=""><figcaption></figcaption></figure>

### **Enable or Disable Application Features**

Users can disable any of the application's main features if they don't need them. Existing data will not be deleted if they are disabled.&#x20;

1. Click **Features** and **check/uncheck** the checkbox to enable/disable any of the features as shown in the below imag&#x65;**:**

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FBJw3lsgeOig6rCb1zNYK%2Fconfiguration%20application%208.png?alt=media&#x26;token=4591b981-a7a1-4a11-a289-f0d010ec7fbb" alt=""><figcaption></figcaption></figure>

### **Add Custom Instance Links**

Custom links can also be added to the instance details panel. This will help you to provide shortcuts to information about the instance, such as health, logs, etc.&#x20;

**Note**: Custom instance links are currently not supported for Kubernetes resources. If the public IP address of the instance is available, it is used to resolve these links. Otherwise, a private IP is used. The default port is 80 and to change the port follow the instructions below:

1. Click **Links** > **Add Section** button to add custom instance links.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FiWTm13nyYt0lNCK6gwxl%2Fconfiguration%20application%209.png?alt=media&#x26;token=d34b0382-7ea8-40bf-995c-e27f68cfea0c" alt=""><figcaption></figcaption></figure>

2. Below screen will appear after you click the **Add Section** button.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fdtd1Ak5H9Rq55GVREpim%2Fconfiguration%20application%2010.png?alt=media&#x26;token=7017f9d1-c439-44a4-85a6-228804b1a135" alt=""><figcaption></figcaption></figure>

Update the details in the above screen as described below.

* Enter text for the new **Section heading** in the given text box.
* In the **Links** text box, enter the text that you want to display.
* In the **URL** text box, enter the path to the link target. References to these specific instance attributes can also be added. Wrap them in curly braces to accomplish this. For example, use {region}.
* Click **Add Link** to add additional links that you want to display.
* Click **Add Section** to add any additional sections.
* Click **Save Changes** after adding all the details.

### **Designate a Traffic Guard Cluster**

You can also create a traffic guard cluster and designate it to have at least one active instance. When enabled, this traffic guard cluster allows Spinnaker to verify if a user or process is trying to disable, resize, or delete the server group.

1. Click **Traffic Guards** > **Add Traffic Guard,** to designate a traffic guard cluster as shown in the below image:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FP0OJSaXpJPkY3wTE1YSe%2Fconfiguration%20application%2011.png?alt=media&#x26;token=53ae6b53-c516-4f9f-8a34-0cf71ddc6e1c" alt=""><figcaption></figcaption></figure>

2\.   On clicking **Add Traffic Guard**, the following options will appear:

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2Fpj8THPOiO2MTI0WQG46L%2Fconfiguration%20application%2012.png?alt=media&#x26;token=b7b60a68-4871-461e-a864-a81da7b3faea" alt=""><figcaption></figcaption></figure>

3\. Update the above **Traffic Guards** section with the details as described below, and click **Save Changes**.

* **Account** - The account for which you’re setting up the traffic guard
* **Region** - The applicable region from the list, or select the wildcard (\*) to include all stacks
* **Stack** - The stack to which to apply this traffic guard. Leave blank to apply the guard only to a cluster that has no stack. You can use the wildcard (\*) to include all stacks (including no stack).
* **Detail** - The detail string necessary to identify this cluster via the application stack-detail naming convention.

### Add Custom Banners

Custom Banners allow you to specify application-specific headers that will appear above the main Spinnaker navigation bar. You can add a new banner by clicking the **Custom Banners** option.&#x20;

<figure><img src="https://lh6.googleusercontent.com/OqmttIzhh1gyVD5urTFUnNLcvAWKqEiJINWLlciTn52hZOphjRuRlNLvS1dcOWhX2olTirWc_dee2-vJrVow21GOBT2S1JwouCRG3uS1lBRHfgmMJDTAXXKzKi6LYfV8IOEPRBxk00ZVitT0etamb9s" alt=""><figcaption></figcaption></figure>

**To Add a new banner**&#x20;

Click **Custom Banners** > **Add banner**, to customize the banner.&#x20;

<figure><img src="https://lh3.googleusercontent.com/sPA5Mxv00XC6NIYpwRaC3fN1pBRNaccQMpDugZfCI3Xk1h5_wSouSbOaPAP6sGBvghjemQQ4yWNrvDe_QX2lK4d6sJC4NTpjsJ57wAjVlcTYfVHfAeBMaQd46peex-cIoZD6c6eAPZze4T8TVkDTe5A" alt=""><figcaption></figcaption></figure>

1. Enter the required text in the **Text** column.&#x20;
2. Select the text color from the **Text Color** dropdown.&#x20;
3. Select the background from the **Background** dropdown. A preview of the added banner is displayed in the **Preview** column.
4. Click **Save Changes** to save the banner.&#x20;
5. Check the **Enabled** checkbox to enable the created banner.
6. To delete the banner click the **Delete** icon provided near the Background dropdown.
7. You can revert the changes made by clicking the **Revert** button.&#x20;

<br>
