Skip to main content

How to Build a New Vessel using Code

Overview​

Every unique solution you create will require you to build a Vessel. Vessels can only be built as part of a Fleet. If you're creating the solution from scratch, you'll want to create a Vessel with Code. This how to guide will walk you through the steps to build a Vessel with Code.

Steps​

Step 1 - Initial Setup​

  1. Click the + New Fleet button in the top left corner of your page.
  2. Click the plus icon along the left side of the Fleet Builder sidebar.
  3. Select any option under Code Vessels.

At this point, the Vessel editing panels will be opened. You can also completely delete your unfinished progress by clicking the red X in the corner of the Vessel.

Step 2 - Name your Vessel​

  1. At the the top of the information panel, update your Vessel to have a descriptive name. By default, we automatically generate a unique, but undescriptive name.

Step 3 - Provide Code​

All of the information on this panel is required.

  1. Provide the File to Run necessary for your code to run properly.
  2. Provide the code for your solution, using any of the available methods.

Step 4 - Optional Items​

All of the following panels are optional.

  1. Provide any arguments that your script uses.
  2. Provide any environment variables that your script uses.
  3. Provide any language packages that your script needs to use.
  4. Provide any system packages that your script needs to use.
  5. Update the notifications if you want someone other than yourself to receive alerts.
  6. Update the guardrails if you want your Vessel to retry in the event of an error.
  7. Click Save & Finish once you're done.
success

You've now successfully built a Vessel with code as part of a Fleet.