# Adding a New Vaccine and its Mapping via ETCD CLI

With the ETCD CLI, the same can be dynamically updated in the files (euVaccineProph.json and euVaccineCode.json) without any service deployments.

### **Steps to add the extra EU vaccine configurations**

* Go to the specific path where etcd is configured.
* Open the files to add the new vaccine or update the existing vaccine.
* Run the command: vim euVaccineCode.json.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FAwcvLjvp3iBNPbs5I3wZ%2FScreenshot%202022-09-01%20at%2012.33.59%20PM.png?alt=media&#x26;token=bc496911-0f66-4b39-81ff-c350a2f97fa5" alt=""><figcaption></figcaption></figure>

* Run the command:vim euVaccineProph.json.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FBDt57NiqqtPQULAF75oG%2FScreenshot%202022-09-01%20at%2012.36.53%20PM.png?alt=media&#x26;token=92e3b87d-dbb4-4510-9444-c4f914a32922" alt=""><figcaption></figcaption></figure>

* Run the command:vim [euVaccineManuf.json](https://github.com/egovernments/DIVOC/blob/main/default-configuration/etcd/euVaccineManuf.json).

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FN4yPg9veoknOP5KqWcLW%2FScreenshot%202022-09-01%20at%2012.39.15%20PM.png?alt=media&#x26;token=7cca21d9-890a-4ccd-b700-d5f6f17f2e33" alt=""><figcaption></figcaption></figure>

* To reflect the change, run the command: ./updateConfigs.sh. It shows "OK OK OK...."This means that etcd has been updated with the new vaccine list successfully.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2FqsNLi4moOtBXIOhULkF9%2FScreenshot%202022-09-01%20at%202.00.02%20PM.png?alt=media&#x26;token=168f133e-52ea-49de-9802-529e75aecb4d" alt=""><figcaption></figcaption></figure>

* Create the certificate and generate the PDF with the new vaccine.

<figure><img src="https://2562258420-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fl6m0NhgP8h5hkr3DES7R%2Fuploads%2Ft1U1LQLRoswIqGSk2o6Z%2FScreenshot%202022-09-01%20at%202.02.13%20PM.png?alt=media&#x26;token=3f79a843-83b1-409a-9284-737b457ef7df" alt=""><figcaption><p>Sample certificate</p></figcaption></figure>

[![Creative Commons License](https://i.creativecommons.org/l/by/4.0/80x15.png)](http://creativecommons.org/licenses/by/4.0/)*All content on this page by* [*eGov Foundation*](https://egov.org.in/) *is licensed under a* [*Creative Commons Attribution 4.0 International License*](http://creativecommons.org/licenses/by/4.0/)*.* &#x20;
