ThingWorx WebSocket-based Edge MicroServer (WS EMS) and Lua Script Resource (LSR) > Additional Configuration of WS EMS > Example Configurations > Non-Gateway Mode with Self-Identifying Remote Things Example
  
Non-Gateway Mode with Self-Identifying Remote Things Example
The WS EMS can be configured to run in non-gateway mode, so things that attach to the WS EMS will pro-actively identify themselves with its process.
The example below illustrates how the WS EMS can be configured for this scenario:
{
"ws_servers":[{
"host" : "localhost",
"port" : 443
}
],
"appKey" : "some_encrypted_application_key",

"ws_connection": {
"encryption": "ssl"
},
"auto_bind": [{
"name" : "EdgeThing001",
"host" : "127.0.0.1”,
"port": 8001
}]
}
To learn how to encrypt the Application Key, see Encrypting Application Keys, Passwords, and Passphrases.