PHP (Core) (No Framework)

Before you begin

1. Signup for a free trial (if you haven't already)

First select a plan from the AtomChat Free Trial page, enter your email address and start your free trial.

2. Note your API keys

Sign in to your AtomChat Client Area and click on the Manage button and then note down the keys present in API Keys (top right button) section - API Key, Auth Key, License Key and App ID. You may need these during installation.

3. Secure your environment

For successful integration, please ensure your domain or local environment is SSL certified and secure.

AtomChat Admin Panel
AtomChat Admin Panel



Choose a layout

AtomChat offers 2 layouts

1. Docked Layout creates a floating chat widget at the bottom right/left corner of your website. 2. Embedded Layout embeds a chat interface inside any page of your website.

And please remember!!

AtomChat layouts are not designed to be used together on the same page. If you add both layouts on the same page, please expect erratic behaviour from the software.

Setting up Docked Layout



Docked Layout
Docked Layout

Please copy the code given below and replace APP_ID and AUTH_KEY with your unique keys.

Then follow the instructions given in the section - "Where to add this code?"

JS



ATTENTION

In the code snippet above, make sure to replace 'APP_ID' with your App ID and 'AUTH_KEY' with your Auth Key.

Where to add this code?

Paste the code right before the closing </body> tag of every page where you want AtomChat to appear.

Important

The highlighted code may have to be modified to match the variables you’ve used.



Setting up Embedded Layout

               Embedded Layout
Embedded Layout

Please copy the code given below and replace APP_ID and AUTH_KEY with your unique keys.

Then follow the instructions given in the section - "Where to add this code?"

JS

Where to add this code?

Paste the code in any site page where you want AtomChat to appear.

Important

The highlighted code may have to be modified to match the variables you’ve used.

Contact Sync

Your users will be visible on the contact list once they log in using their credentials again to the site after installation.

Security

IMPORTANT

Before you go live, follow our security guide to ensure your integration is secure.

Jump to Security Guide

Congrats!! You are all set to start using AtomChat!