# Advanced

# Favicon

Concord CRM at this time does not offer an option to upload favicon for your installation because of various reasons, in most cases it's because of size for different devices and browsers compatibility.

For this reason, we included option to add your own favicon via Real Favicon Generator Service.

The real favicon generator service will generate browser and device compatible icons that can be used in all devices, to achieve this and add the icon in Concord CRM follow the steps below.

  • Visit https://realfavicongenerator.net.
  • Click Select your favicon image.
  • After the favicon are created, you can customize some of the options that are provided, if you are not familiar with them, you can leave them as default.
  • Click Generate your Favicons and HTML code.
  • Download the .zip file with all icons by clicking on the Favicon Package button.
Install Favicon
  • Extract the contents from the .zip file you downloaded in your Concord CRM installation at public/favicons.
  • Edit the .env file in the root of your installation and at the bottom of the file add the following contents:
ENABLE_FAVICON=true
  • In Concord CRM, navigate to Settings->System->Tools and run the clear cache tool.
  • Clear your browser cache and see if the icons are shown fine.

NOTE

Whenever the .env file is edited, you must clear the cache by navigating to Settings->System->Tools and running the clear cache tool.

# Filesystem

Concord CRM uses the local file system and all the files that are uploaded via Concord CRM dashboard, including the imported emails attachments, are stored on the server where you have installed Concord CRM.

However, if you are dealing with a lot files and most of your emails are containing attachments, there is a support for Amazon S3 bucket to be configured, in this case, the files will be saved in the Amazon S3 bucket instead on your server where you have installed Concord CRM.

NOTE

Uploaded files like logo and avatars are not saved on the bucket, they are still saved on the server where you have installed Concord CRM.

# What is Amazon S3 ?

Amazon S3 is a “Simple Storage Service” Provided by amazon AWS. It allows you to store objects through a web service Interface. To read more about S3 Click here (opens new window).

Please keep in mind that AWS S3 is paid service and you will still need to pay for the storage you are using but it's pretty affordable.

# Create S3 Bucket

  • Login to your AWS Console (opens new window).
  • Make sure that your AWS account is verified by Amazon.
  • Click Services and under Storage choose S3.
  • Click Create Bucket.
Amazon S3 Create Bucket
  • Enter Bucket name, for example, your-company-concordcrm-bucket
  • Choose Region.
  • Scroll down and uncheck the Block all public access option.
Amazon S3 Create Bucket
  • Click Create Bucket.

Now you need encryption keys, secrets to communicate with S3 from your Concord CRM installation. For this AWS provides you IAM service where you can manage users and encryption keys.

# Create IAM User

  • On AWS console page select IAM service OR Click Here (opens new window).
  • On Left sidebar Select “Users” and on users page Click on “Add User”.
AWS Create AIM User
  • Enter User name and set access type to “Programmatic access”.
  • Click on “Next: Permissions”.
AWS Create AIM User And Programmatic Access
  • On Next screen, Select “Attach Existing Policy Directly”.
  • A list of Policies will appear. Search for S3 and select “AmazonS3FullAccess”.
  • Click on the “Next: Tags” Button.
AWS SIM User Attach S3 Policy
  • You can skip tags as these are optional. Just click on “Next: Review Button”.
  • On Review screen Verify all your settings and click on “Create User” Button.
  • After Creating user following screen will appear.
AWS AIM User Access Key
  • Download the .csv file which contains all your credentials (AWS Access Key ID & Secret Key).

# Configure S3 Bucket

After we created the bucket in AWS, created the AIM user with proper policy and the access keys are generated, now we are ready to configure the S3 Bucket in Concord CRM.

In your Concord CRM installation edit the .env file in the root of your installation and at the bottom of the file add the following contents:

MEDIA_DISK=s3
AWS_ACCESS_KEY_ID=your-access-key-from-the-csv-file
AWS_SECRET_ACCESS_KEY=your-secret-key-from-the-csv-file
AWS_DEFAULT_REGION=bucket-region
AWS_BUCKET=bucket-name

AWS_DEFAULT_REGION value is depend on the region you’ve selected while creating a new bucket, the region key name is available on the S3 buckets listing page.

For example, if you selected EU (Frankfurt) then the value of AWS_DEFAULT_REGION will be eu-central-1. To view complete list Click Here (opens new window).

AWS S3 Bucket Name And Region Name

NOTE

Whenever the .env file is edited, you must clear the cache by navigating to Settings->System->Tools and running the clear cache tool.

# Queues

Concord CRM is fully optimized to handle more heavier tasks like sending emails, executing workflows and processing Zapier zaps using the Laravel Queues feature behind the scenes.

If you have configured a lot workflows to send emails, for example when contact is created, send email to the contact email address, in this case, you may need to wait few more seconds Concord CRM to send the email until you see the contact on the screen.

Because the queue feature requires additional configuration on your server, by default queue is not enabled in Concord CRM installation as we are not certain that the server you are installing Concord CRM can be configured, in most cases, to configure queue you will need a root access to the server.

At this time, the supported queue drivers by Concord CRM are database and redis, you can configure them in the .env like any other Laravel installation.

However, we highly not recommending using the database driver as the database driver should be used for development and testing only. In this case, if you already have redis on your server installed, you can try to configure the redis driver.

We do recommend to check Laravel Queues (opens new window) documentation in order to get more familiar with this feature and it's configuration.