# Automated Rancher Deployment : Server + Nodes

**URL:** <https://forums.suse.com/t/automated-rancher-deployment-server-nodes/3277>\
**Category:** Rancher 1.x\
**Created:** [July 1, 2016, 12:47pm UTC](https://forums.suse.com/t/automated-rancher-deployment-server-nodes/3277 "2016-07-01T12:47:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![kvaes](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/kvaes/32/972_2.png) [@kvaes](https://forums.suse.com/u/kvaes)\
**Post date:** [July 1, 2016, 12:47pm UTC](https://forums.suse.com/t/automated-rancher-deployment-server-nodes/3277/1 "2016-07-01T12:47:22Z")

</div>

For the moment, I have a “demo”-setup where I have a automated deployment in two stages ;

- first I aumatically deploy a system with rancher on it
- next I need a manual intervention to setup the authentication and grab the callback address for my agent
- last I do another automaticaly deployment of several systems with the rancher agent on it with the callback url that i just grabbed

Is it possible to make this one unattended ride? I would love to remove the intermediate / manual step and automate this by some means. Is that currently possible?

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [July 1, 2016, 7:31pm UTC](https://forums.suse.com/t/automated-rancher-deployment-server-nodes/3277/2 "2016-07-01T19:31:43Z")

</div>

There is no magic, everything the UI does is through the API and can be automated.

Access Control: [http://docs.rancher.com/rancher/latest/en/api/access-control/](http://docs.rancher.com/rancher/latest/en/api/access-control/)

RegistrationToken: `POST /v1/projects/1a5/registrationTokens` and poll for it to become `state:active`.

[https://github.com/rancher/10acre-ranch](https://github.com/rancher/10acre-ranch) shows starting up a server and adding hosts for GCE and Docker-for-Mac (but not setting up access control)
