++++
<div class="tabs" data-tab-group="host">
  <div role="tablist" aria-label="Set connection">
    <button role="tab"
            aria-selected="true"
            aria-controls="cloud-tab-set-connection"
            id="cloud-set-connection">
      Elasticsearch Service
    </button>
    <button role="tab"
            aria-selected="false"
            aria-controls="self-managed-tab-set-connection"
            id="self-managed-set-connection"
            tabindex="-1">
      Self-managed
    </button>
  </div>
  <div tabindex="0"
       role="tabpanel"
       id="cloud-tab-set-connection"
       aria-labelledby="cloud-set-connection">
++++

include::set-connection.asciidoc[tag=cloud]

++++
  </div>
  <div tabindex="0"
       role="tabpanel"
       id="self-managed-tab-set-connection"
       aria-labelledby="self-managed-set-connection"
       hidden="">
++++

include::set-connection.asciidoc[tag=self-managed]

++++
  </div>
</div>
++++
