# How to integrate Unikname with WooCommerce?

install-unikname-connect-step

woocommerce


Unikname Connect can be easily integrated with your WooCommerce website with a simple plugin.

WooCommerce(opens new window) is an open-source e-commerce plugin for WordPress. It's designed for small to large-sized online stores.

WordPress(opens new window) is a free and open-source content management system (CMS) written in PHP and paired with a MySQL or MariaDB database.

WordPress is used by more than 60 million websites, it is one of the most popular content management system solutions in use. WordPress was originally created as a blog-publishing system but has evolved to support other types of web content: corporate website, media galleries, online stores... such as with WooCommerce extension.

Example

Many WooCommerce websites are running with Unikname Connect such as La Bande Du Coin(opens new window) or Cryptomaniac(opens new window) to give you some examples...

👉 You're welcome to look at them and to see how they've integrated the Unikname Connect Button.

Prerequisites

✔️ You've already obtained your own @unikname SSID

✔️ You've signed-up for a business account ✔️ You've got and setup the Trust certificate for your website ✔️ During the sign-up process you've received your Business Account ID and your API secret key.

📖 We assume you're familiar with the administration of your WordPress website and you've already installed the WooCommerce plugin on it.

# Step 1. Install the WordPress plugin

Unikname Connect plugin is available for free on the official WordPress plugins repository(opens new window) .

There are various ways of installing the plugin, so choose the one adapted to your installation:

  • From your WordPress Dashboard
  • From the Github Repository
  • With Composer

# Install from your WordPress Dashboard

You can install Unikname Connect directly from your WordPress Dashboard.

  1. Go to your WordPress Dashboard
  2. Go to the extensions/plugins manager
  3. Add a new one
  4. Look for unikname connect in the search box on right
  5. Install Unikname Connect plugin
  6. Then enable it

# Install from the Github Repository

  1. Download WordPress-Unikname-Connect plugin(opens new window)
  2. Extract the downloaded ZIP archive
  3. Upload the wordpress-unikname-connect-master directory to your /wp-content/plugins/ directory (you can remove the trailing -master in the name of the directory)
  4. Activate WordPress-Unikname-Connect from your Plugins page

# Install with Composer

If you're using Composer to manage WordPress, add WordPress-Unikname-Connect to your project's dependencies through the WordPress Packagist repository(opens new window) .

Run de following command:

$ composer require wpackagist-plugin/unikname-connect

# Step 2. Setup the WordPress Plugin

# Basic configuration

  1. Enable the Enable Unikname Connect
  2. Configure Unikname Connect @unikname with the Business Account ID given from Unikname Team Support
  3. Configure Unikname Connect Secret with the API Secret Key given from Unikname Team Support

Unikname Connect for WordPress basic configuration

# Advanced configuration

You can also configure some extra parameters in the Advanced tab of the plugin, such as selecting the page where you want to see the Sign-up / Login button.

Unikname Connect for WordPress advanced configuration, with configurations for WooCommerce

All done!

New users are now able to use their @unikname SSID to sign-up to your Wordpress website.

# Troubleshooting

If you’re having issues when connecting (access denied ...), check that the credentials (the @unikname of your organization, Unikname Connect secret, client id/secret ...) you are using to connect to Unikname Connect authentication server are the good one.