--- layout: default navsection: installguide title: Install Composer ... {% comment %} Copyright (C) The Arvados Authors. All rights reserved. SPDX-License-Identifier: CC-BY-SA-3.0 {% endcomment %} Arvados Composer is a web-based javascript application for building Common Workflow Languge (CWL) Workflows. h2. Prerequisites In addition to Arvados core services, Composer requires "Arvados hosted git repositories":install-arv-git-httpd.html which are used for storing workflow files. h2. Install Composer may be installed on the same host as Workbench, or on a different host. Composer communicates directly with the Arvados API server. It does not require its own backend and should be served as a static file. On a Debian-based system, install the following package:
~$ sudo apt-get install arvados-composer
On a Red Hat-based system, install the following package:
~$ sudo yum install arvados-composer
h2. Configure h3. Nginx Add Composer to your Nginx configuration. This example will host Composer at @/composer@.
location /composer {
  root   /var/www/arvados-composer
  index  index.html
}
h3. composer.yml Create @/var/www/arvados-composer/composer.yml@ and set @API_HOST@ to your API server:
API_HOST: zzzzz.arvadosapi.com
h3. Workbench link to composer Edit @config.yml@ and set @Services.Composer.ExternalURL@ to the location from which it is served:
Clusters:
  zzzzz:
    Services:
      Composer:
        ExternalURL: https://workbench.zzzzz.arvadosapi.com/composer