# OpsMx Argo Sandbox Guide

### Authentication to Argo&#x20;

1. You would need a valid Google/Gmail ID to log into the ARGO Sandbox environment.
2. After a successful login, the **ArgoCD user interface (UI)** appears 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%2FUhzarFqW53dtd5P6rdSR%2F1%20New.jpg?alt=media&#x26;token=f272a41a-5d17-4a1f-a2b6-07070897dc04" alt=""><figcaption></figcaption></figure>

3\.  The user can access project details, repositories, accounts, certifications, clusters, and other information by clicking the “**Settings**” button on the left side of the screen.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FhpamKbf26OVO38HnMJMH%2F2%20New.jpg?alt=media&#x26;token=396eff20-7be9-498c-b6db-9b20a8d29c65" alt=""><figcaption></figcaption></figure>

4\. By clicking the “**Projects**” tab from the screen above, the user can access the cluster and namespace details 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%2F1Ogy5MOgNFbDbXuYJ4EZ%2F3%20New.jpg?alt=media&#x26;token=be269097-51c5-4d6f-876a-247204ddd3de" alt=""><figcaption></figcaption></figure>

### **Create an Application**

Follow the steps below to create a new application in ArgoCD.

1. Click "**+NEW APP**" or "**CREATE APPLICATION**" button to create a new application in ArgoCD.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FzfgmlANMnlb5YgJd618E%2F4%20New.jpg?alt=media&#x26;token=12f63ed5-05ae-4814-9b07-cd08d3ee4e9a" alt=""><figcaption></figcaption></figure>

2\.  After clicking "**+NEW APP**" or "**CREATE APPLICATION**" button, provide the required parameters as shown in the image below.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FYjsFTK5yW5ZrmC9EnsVA%2F5%20New.jpg?alt=media&#x26;token=2452ce44-7f52-4ad0-844f-5f7bc0714c4d" alt=""><figcaption></figcaption></figure>

* **Application Name**: Provide the application name that you need to create
* **Project Name**: Click on Project name and select the project from the drop-down menu
* **SyncPolicy**: Select as Manual. (If you select automatic, all changes/commits made to the git repository will be updated automatically without any human intervention.)

3\. Scroll down to update the "**Source**" parameters as shown in the image below.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FDtprXrirxkq6MqdW1dsJ%2F6%20New.jpg?alt=media&#x26;token=77b78046-bc22-4111-b9a1-b3b5ceb35107" alt=""><figcaption></figcaption></figure>

* **Repository URL**: Click on Repository URL and select the available URL from the drop-down menu
* **Revision**: Select revision as **HEAD**
* **Path**: Click on Path and select the available path from the drop-down menu. (If paths are not highlighted check in the git repository URL)

4\.  Scroll down to update the "**Destination**" parameters as shown in the image below.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FBnwL9YUnyrTIQtG1866l%2F7%20New.jpg?alt=media&#x26;token=10f10dba-8c18-4ac1-8de3-aa4960e5047a" alt=""><figcaption></figcaption></figure>

* **ClusterURL:** Click on Cluster URL and select the available URL from the drop-down menu
* **Namespace**: Namespace value can be taken from project details as mentioned in [Create an Application](#creation-of-application) section step 4.
* After updating the above parameters click "**CREATE**" button to complete the application creation.

5\.  After clicking the "**CREATE**" button, your application will be created in ArgoCD UI as shown in the image belo&#x77;**.**

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F2L3NeViMt74YS7rarke2%2F8%20New.jpg?alt=media&#x26;token=e0d0858f-f505-41c8-89b5-ac851e59173e" alt=""><figcaption></figcaption></figure>

6\.  After create an application, click on the application to get a Synchronize option and then click "**SYNC**"  button.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FUMeM4VMaKnDdDfJfupLu%2F9%20New.jpg?alt=media&#x26;token=d50df3d2-b3d7-46f5-8916-267c8facf61f" alt=""><figcaption></figcaption></figure>

7\.  After you click the "**Sync"** button, the application will be synced and deployed into the target cluster, which is the namespace that you specified when you created the application.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FwyDSOi0O49v0KsI1FfK9%2F10%20New.jpg?alt=media&#x26;token=8dda4ae0-2111-4b72-a6ab-43e8a86b9705" alt=""><figcaption></figcaption></figure>

8\.  After a successful sync, the application health will be updated as shown in the image below.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FWaASJ5uy72KTd3VTA7Gg%2F11%20New.jpg?alt=media&#x26;token=ea40e9c8-cfbf-41ab-a986-fc550559cff9" alt=""><figcaption></figcaption></figure>

### **Verification**

1. Click on the **"Pod"** to perform the verification.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2FP7c0uTZICWlb2v9w3x6v%2F12%20New.jpg?alt=media&#x26;token=ca1e8480-f08b-4ba8-a5c1-cfc672df1e96" alt=""><figcaption></figcaption></figure>

2\. Pod detail window displays a summary, events, and logs.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F5HamSiXDwytW7QBRWzWO%2F13%20New.jpg?alt=media&#x26;token=aaf24cb0-9033-4b7a-b43a-affa19076c53" alt=""><figcaption></figcaption></figure>

3\.  Click on logs to see the pod logs.

<figure><img src="https://2047464521-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MBEa1hoX6SqpDj-ymNs%2Fuploads%2F4A4uQZoUoN1kZEwsk0hM%2F14%20New.jpg?alt=media&#x26;token=bd4cd68b-d146-400c-b3d3-2e45d269bfcb" alt=""><figcaption></figcaption></figure>
