# Skipping the configuration wizard after installation

**URL:** https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214
**Category:** Self-hosting
**Created:** [15 مارس 2017، 10:28م UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214 "2017-03-15T22:28:34Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![squidboylan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/squidboylan/32/120930_2.png) [@squidboylan](https://meta.discourse.org/u/squidboylan)
#### Post date: [15 مارس 2017، 10:28م UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214/1 "2017-03-15T22:28:34Z")

</div>

I’m writing an [Ansible playbook](https://github.com/squidboylan/discourse-dreamcompute) to deploy discourse automatically. The problem is that I would like to automate the configuration that is done in the web browser after the installation. This would make it so that things like forum name, color, icon, etc would be configurable through the Ansible playbook instead of through the web installer. I can’t find any documentation on how to do this, is it possible?

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [15 مارس 2017، 10:50م UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214/2 "2017-03-15T22:50:40Z")

</div>

I’m pretty sure you could set the hidden site setting `wizard_enabled` to `false` and this will prevent the wizard from displaying …

… obviously you can set this and other settings via API calls as one option.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [15 مارس 2017، 10:54م UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214/3 "2017-03-15T22:54:10Z")

</div>

I’ve been thinking about that a little, and have started a couple times to use Ansible rather than my set of shell scripts, but I’ve not quite gotten over the hump.

You could do stuff like that with the API, but you can’t use the API until you get an API key. To get an API key, you need to either use the web interface or (and I haven’t tested this) enter the container and issue a console command to generate and return the API key.

---

<div class="post-metadata">

### Author: ![smaffulli](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/smaffulli/32/120462_2.png) [@smaffulli](https://meta.discourse.org/u/smaffulli)
#### Post date: [15 مارس 2017، 11:10م UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214/4 "2017-03-15T23:10:38Z")

</div>

@pfaffman do your scripts do any customization after the initial deployment? One of the things we’re trying to do with this ansible script is to customize the UI and install custom plugins, without having to click-click on anything.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [15 مارس 2017، 11:24م UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214/5 "2017-03-15T23:24:32Z")

</div>

Plugins, I’ve got scripted. Not hard to edit the app.yml file and rebuild.

Aha! It might be possible to create a template that would give console commands to set and get an API key, and then Bob’s your uncle.

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [15 مارس 2017، 11:38م UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214/6 "2017-03-15T23:38:58Z")

</div>

Yeah a lot can be done here with custom commands:

> <https://github.com/discourse/discourse_docker/blob/master/samples/standalone.yml#L94-L96>

---

<div class="post-metadata">

### Author: ![ahmed\_alamiry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ahmed_alamiry/32/198190_2.png) [@ahmed\_alamiry](https://meta.discourse.org/u/ahmed_alamiry)
#### Post date: [21 يناير 2019، 7:49ص UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214/7 "2019-01-21T07:49:04Z")

</div>

Did you find a solution to this?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [15 يناير 2022، 11:53م UTC](https://meta.discourse.org/t/skipping-the-configuration-wizard-after-installation/59214/8 "2022-01-15T23:53:42Z")

</div>


