Configuration

Configuration is done using Environment variables

Variable

Description

Value

Default

Required

SERVER

Server name

A string

Ushaflow Core EE

No

PORT

Server port

A Integer between 1 and 65535

8090

Yes

TOKEN

License key token

A JWT-Encoded Token

Note: must be signed with Ushaflow private key

-

Yes

TARGETS

Target platforms

A comma-separated list, containing platform names:

DIALOGFLOW, ACTIONS_ON_GOOGLE, FACEBOOK, SLACK, TELEGRAM, KIK, VIBER, SKYPE, LINE, GOOGLE_HANGOUTS

Note: no space after comma

All

No

REALTIME

Enable Realtime (WebSocket API)

A boolean: true or false

false

No

GOOGLE_APPLICATION_CREDENTIALS

Path to Google Cloud Project Service Account

A valid URI

Note: the credentials are configured automatically when running inside Google Cloud

-

No

PUBSUB_TOPIC

Pub/Sub topic to publish messages to

A string

Further reading: PubSub

-

No

ENV

Path to env file

A path

-

No

Last updated

Was this helpful?