# How to orchestrate Rancher?

**URL:** <https://forums.suse.com/t/how-to-orchestrate-rancher/2743>\
**Category:** Rancher 1.x\
**Created:** [May 11, 2016, 7:55am UTC](https://forums.suse.com/t/how-to-orchestrate-rancher/2743 "2016-05-11T07:55:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pureclouds](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/pureclouds/32/1308_2.png) [@pureclouds](https://forums.suse.com/u/pureclouds)\
**Post date:** [May 11, 2016, 7:55am UTC](https://forums.suse.com/t/how-to-orchestrate-rancher/2743/1 "2016-05-11T07:55:39Z")

</div>

Hello!

Thanks for nice platform! It’s very amazing and useful! But I have question - how I can orchestrate rancher installation and configuration/ I want avoid steps in WebUI. It will be great if I could install server, add hosts and install agents there, configure server, add registry and add application by some command line tool.

Is it possible ? may be via API ? Any advise or docs ?

---

<div class="post-metadata">

**Author:** ![denise](https://avatars.discourse-cdn.com/v4/letter/d/82dd89/32.png) [@denise](https://forums.suse.com/u/denise)\
**Post date:** [May 16, 2016, 8:57pm UTC](https://forums.suse.com/t/how-to-orchestrate-rancher/2743/2 "2016-05-16T20:57:08Z")

</div>

This old forum post should help answer what you’re looking to do:

> [@Is there a way to create a digital ocean host programmatically?](http://forums.suse.com/t/is-there-a-way-to-create-a-digital-ocean-host-programmatically/114/3):
>
> This looks fantastic, I am searching to get/create the registration token with my API key in order to automate host provisionning, I can see how it created ([https://github.com/rancher/cattle/blob/2face8a72d79888152749820d55b1e220a9e24f5/code/implementation/register/src/main/java/io/cattle/platform/register/util/RegistrationToken.java#L38](https://github.com/rancher/cattle/blob/2face8a72d79888152749820d55b1e220a9e24f5/code/implementation/register/src/main/java/io/cattle/platform/register/util/RegistrationToken.java#L38)). I am a bit lost in the Rancher documentation, where is the doc speaking about that? Thanks you very much, Thomas Decaux

---

<div class="post-metadata">

**Author:** ![sshipway](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/sshipway/32/397_2.png) [@sshipway](https://forums.suse.com/u/sshipway)\
**Post date:** [May 17, 2016, 3:03am UTC](https://forums.suse.com/t/how-to-orchestrate-rancher/2743/3 "2016-05-17T03:03:40Z")

</div>

We have creation of Rancher Hosts automated by using CoreOS images under VMWare combined with a cloud-config.yaml. With this, we can simply deploy a new VM from the template and it will start up, start the Rancher agent, and hook itself into the appropriate Environment. A similay cusotmised cloud-config configures and starts up the Rancher server itself. So, we just need to use the VMWare orchestration to deploy new Hosts.
