Supported ThingWorx Connector Types
Add a ThingWorx connector type to authorize ThingWorx Flow to execute ThingWorx actions. ThingWorx Flow supports the following connector types for ThingWorx:
Basic
OAuth
OAuth (Named User)
OAuth (Session User)
* 
Before you create a ThingWorx OAuth connector, ensure that you load ThingWorx OAuths to the ThingWorx Flow server.
Adding an App Key connector
1. Drag any action under ThingWorx to the canvas, place the pointer on the action, and then click or double-click the action.
2. For Connector Type, select ThingWorx App Key.
3. In the ThingWorx Connection list, select Add New.
4. Edit the Connector Label field, if you want. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
5. In the ThingWorx URL field, enter the ThingWorx URL. For example: http://localhost:8080/Thingworx/
6. In the ThingWorx App key field, enter the ThingWorx application key. For information on creating application keys, see Application Keys.
7. Click ADD to add the ThingWorx App Key connector.
Adding a Basic connector
1. Drag any action under ThingWorx to the canvas, place the pointer on the action, and then click or double-click the action.
2. For Connector Type, select ThingWorx Basic.
3. In the ThingWorx Connection list, select Add New.
4. Edit the Connector Label field, if you want. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
5. In the ThingWorx URL field, enter the ThingWorx URL. For example: http://localhost:8080/Thingworx/
6. In the User Id and Password fields, enter the correct user ID and password.
7. Click ADD to add the ThingWorx Basic connector.
Adding an OAuth connector
1. Drag any action under ThingWorx to the canvas, place the pointer on the action, and then click or double-click the action.
2. For Connector Type, select OAuth (Named User) or OAuth (Session User).
3. In the ThingWorx OAuth list, select Add new ThingWorx login – Named User or Add new ThingWorx login – Session User.
* 
If you have not loaded ThingWorx OAuths to the ThingWorx Flow server, this option is not available.
4. On the PingFederate login page, provide your user name and password to log in.
5. Review access permissions, and click Allow.
6. Edit the Connector Label, if you want. Labels are case-sensitive. Do not use spaces, special characters, and leading numbers.
* 
The Resource URL field is available only if you have not specified the RESOURCE_URL parameter while configuring OAuth settings for ThingWorx.
7. Click ADD to add the ThingWorx OAuth connector.
Was this helpful?