Quick Start
Beam is a flexible agent that is designed to run on servers, desktop machines, embedded computers, and any other general purpose computer. Linux, Mac, and Windows is supported.
Install (Linux / Mac)
Beam is hosted from a private artifact repository. Please reach out to your team at Somewear to get an username and password for the artifact repository.
Download Beam to ~/bin:
curl -L -u <ARTIFACTS_USERNAME> "https://us-west2-somewear-souvla.cloudfunctions.net/core-artifacts/beam/latest/beam-$(uname -m)-$(uname -s)" --output ~/bin/beamMake binary executable:
chmod +x ~/bin/beamRun help command to verify installation:
beam -hConfiguration
To configure Beam, you'll need to create a beam.properties file. The first property we'll add will be your core-artifact-credentials . This will allow you to update Beam from the command line as new versions are released.
Create your beam.properties file
Create a Somewear config directory if it doesn't exist already:
mkdir -p ~/.config/somewearWithin that directory, add the beam.properties file:
touch ~/.config/somewear/beam.propertiesAdd the core artifact credentials to your beam.properties file:
core-artifact-credentials=${SOMEWEAR_ARTIFACTS_USERNAME}:${SOMEWEAR_ARTIFACTS_PASSWORD}Authentication
To leverage the Somewear Grid APIs you will need to provision an API key. Beam retrieves this API key from your beam.properties file.
Create your API key
An API key can be provisioned from the Somewear Grid Web App within your organization admin portal. You will find API key management under the "API Keys" section at https://somewear.app/app/settings/organization/settings.

Add the API key to your beam.properties file:
api-key=${SOMEWEAR_GRID_API_KEY}Fetch Workspaces
The core work group in Somewear is a workspace. Beam allows to you retrieve the list of workspaces the Beam identity is active in from the command line:
beam workspace listSend a Message
A core feature of Somewear is chat. Beam allows you to send chat messages from the command line:
beam message send --direct --content "Hello from Beam!" --phone "<YOUR_PHONE_NUMBER>"Last updated