2. Setup2. SetupCouchDB 2.x can be deployed in either a single-node or a clustered configuration. This section covers the first-time setup steps required for each of these configurations. 2.1. Single Node Setup2.2. Cluster Set Up 2.2.1. Ports and Firewalls2.2.2. Configure and Test the Communication with Erlang2.2.3. Preparing CouchDB nodes to be joined into a cluster2.2.4. The Cluster Setup Wizard2.2.5. The Cluster Setup API