WordPress activeCollab Connector

On this page:


Setting up WP AC Connector

Please read these instructions carefully and follow them in order. Things may not work otherwise.

  1. Make sure both WP and AC can “see” each other – their URLs should be accessible from either sides. So they should either be on a public URL or local setup or must have firewall setup correctly so that requests can go back and forth.
  2. Upload WP AC Connector module and authentication provider files to activeCollab. Do not forget to upload files in “auth_providers” folder.
  3. Install the module from activeCollab admin
  4. Edit “config.php” file in activeCollab. Add define('AUTH_PROVIDER', 'WPAuthenticationProvider'); line after other configuration options. Save the file.
  5. Upload WP AC Connector plugin to WordPress and activate it from WP Plugins page
  6. Come to activeCollab, go to Profile page of an Administrator user (this user will be creating / updating other user accounts via API. You may also create a new admin user for the purpose)
  7. Create a new API token in activeCollab for this user from API Subscriptions option for this user.
  8. Click on the magnifying glass icon to view details of the newly created API subscription
  9. Copy this API token.
  10. Go to WP AC Connector administration page within activeCollab.
  11. Paste the newly created token in Token field.
  12. Go to WordPress admin, WP AC Connector settings.
  13. Paste the Token copied from activeCollab in Token field.
  14. Copy the WP AC Connector API URL from WordPress.
  15. Paste it in activeCollab side settings page for WP AC Connector.
  16. Save changes in both activeCollab and WordPress.
  17. Now within activeCollab WP AC Connector settings, map WordPress roles to activeCollab system roles. When new users are created in activeCollab they will get role in activeCollab based on their role in WordPress. You can also select a project and project role to assign to newly created users here.
  18. Save changes in activeCollab.
  19. Similarly, map activeCollab roles to WordPress roles in WP AC Connector settings in WordPress. New users created in WordPress will have role assigned based on their role in activeCollab.
  20. Select a default company for newly created users.
  21. Save changes.

WP AC Connection Settings – activeCollab

WP AC Connection Settings – WordPress


Testing WP AC Connectivity

  • Create a new user in WordPress. Login as that user in WordPress admin. Click on the “Switch to activeCollab” link. This should create a new user in activeCollab and log him in.
  • Update a user’s profile in WordPress. His company, email and password should change in activeCollab. Log in as that user in activeCollab to confirm.
  • Create a new user in activeCollab. Go to WordPress and login with the same email and password. It should log you in.
  • Update user’s profile in activeCollab. Password and company changes should reflect in WordPress.


Automatic Sync of User Authentication Information

WP AC Connector automatically keeps the user’s email address, password and company name in sync across WordPress and activeCollab. Note that other fields (first name, last name etc) are not synchronized yet.

Deletions are not synchronized. So if you delete a user, and do not want him to login to either system, make sure you delete him from both systems. Otherwise a new account will be created for that user the next time he tries to log into either of the systems.


Single Sign On


When a user logs into WordPress, they can automatically login to activeCollab by clicking a link. They don’t need to enter their login / password for activeCollab. This single sign on link is automatically added to the top toolbar once the user logs in to WordPress. You can also use this SSO URL anywhere else on your site.

Note that Single Sign On currently works only from WordPress to activeCollab. We will add activeCollab to WordPress SSO in near future.