### Install and Start Apache and PHP Source: https://support.helpspot.com/index.php?id=479&pg=kb.page Installs the required web server and PHP modules, then enables and starts the Apache service. ```bash # Install Apache + PHP sudo yum install httpd php php-pdo php-mysql php-gd php-mcrypt php-curl php-imap php-xml # Set Apache to start on boot: sudo systemctl enable httpd.service # Start Apache: sudo service httpd start ``` -------------------------------- ### Install HelpSpot via CLI Source: https://support.helpspot.com/index.php?id=629&pg=kb.page Guides through the installation process. Use flags to provide details for non-interactive installation. ```bash # Interactive php hs install # Or prefill some or all options php hs install --agree --name="Jane Doe" --admin-email="jane@example.com" --password="secret" ...and so on ``` -------------------------------- ### Install and start Supervisor Source: https://support.helpspot.com/index.php?id=685&pg=kb.page Installs Supervisor and enables/starts the supervisord service. ```bash sudo dnf install supervisor sudo systemctl enable supervisord sudo systemctl start supervisord ``` -------------------------------- ### Install and start MySQL server Source: https://support.helpspot.com/index.php?id=685&pg=kb.page Installs MySQL server and enables/starts the mysqld service. ```bash sudo dnf install mysql-server sudo systemctl enable mysqld sudo systemctl start mysqld ``` -------------------------------- ### Run HelpSpot interactive installation Source: https://support.helpspot.com/index.php?id=468&pg=kb.page Execute the installation command to start an interactive prompt for required configuration details. ```bash php hs install ``` -------------------------------- ### View HelpSpot installation help Source: https://support.helpspot.com/index.php?id=468&pg=kb.page Run the help command to display all available flags and options for the installation process. ```bash php hs install -h ``` -------------------------------- ### Create .env Configuration File Source: https://support.helpspot.com/index.php?id=642&pg=kb.page Navigate to the HelpSpot directory and create the .env file from the provided example. ```bash cd /var/www/helpspot cp .env.example .env ``` -------------------------------- ### HelpSpot Installation Commands Source: https://support.helpspot.com/index.php?id=655&pg=kb.page Use these commands to view installation options or initiate the interactive installation process. ```bash # Get the help menu to see available options php hs install -h # Run the installer interactively php hs install ``` -------------------------------- ### Install Redis Server on Ubuntu Source: https://support.helpspot.com/index.php?id=717&pg=kb.page Updates package lists and installs the Redis server package from the default Ubuntu repositories. After installation, Redis is automatically started. ```bash # Update package lists sudo apt-get update # Install Redis server sudo apt-get install -y redis-server ``` -------------------------------- ### HelpSpot .env configuration example Source: https://support.helpspot.com/index.php?id=620&pg=kb.page Example .env file with common settings: APP_DEBUG, APP_URL, database connection (mysql), and QUEUE_CONNECTION. Comments explain each setting. ```plaintext ## Enable debugging output in the web front end APP_DEBUG=false ## The base url of the HelpSpot application (without a trailing slash) APP_URL=https://example.org ## Database type mysql or mssql DB_CONNECTION=mysql ## The DNS name or IP of the database server DB_HOST=localhost ## The port for the database server DB_PORT=3306 ## The database name for the helpspot database DB_DATABASE=helpspot ## The database user name DB_USERNAME=some_user ## The database user password DB_PASSWORD=some_pass ## The selected queue driver. Database is default. QUEUE_CONNECTION=database ``` -------------------------------- ### request.getCategories API Example Source: https://support.helpspot.com/index.php?id=6&pg=kb.printer.friendly Retrieves a list of all public categories using GET. ```bash curl http://.../api/index.php?method=request.getCategories ``` ```xml 3 Usage Question 7 5 11 9 2 1 Report a Bug 2 ``` -------------------------------- ### Set APP_URL for secure subdomain Source: https://support.helpspot.com/index.php?id=658&pg=kb.page Use this example when your HelpSpot installation is hosted on a secure subdomain. The APP_URL must be in standard HTTP URL format and resolve to the public folder of your installation. ```plaintext APP_URL=https://helpspot.company.com ``` -------------------------------- ### private.customer.setPasswordByEmail Example Source: https://support.helpspot.com/index.php?id=6&pg=kb.printer.friendly Demonstrates how to set a portal password for an email account using a GET request. ```bash curl -u tim@ex.com:mypassword "http://.../api/index.php?method=private.customer.setPasswordByEmail&sEmail=tsmith@companyco.com&sPassword=8!TrucK" ``` ```xml 8!TrucK ``` -------------------------------- ### Complete HelpSpot Widget Tab Configuration Example Source: https://support.helpspot.com/index.php?id=323&pg=kb.page Complete example showing every configuration option for the HelpSpot widget tab. Includes customization for alignment, tab type, colors, text labels, and error messages. The onLoad and onClose callbacks are commented out. ```html ``` -------------------------------- ### Set APP_URL to IP address Source: https://support.helpspot.com/index.php?id=658&pg=kb.page Use this example when your HelpSpot installation is accessed via an IP address. The APP_URL must be in standard HTTP URL format and resolve to the public folder of your installation. ```plaintext APP_URL=http://192.168.0.1 ``` -------------------------------- ### Install prerequisites (mysql-server, nginx, supervisor, unzip) Source: https://support.helpspot.com/index.php?id=642&pg=kb.page Installs the core packages HelpSpot needs. If using an external MySQL database, you can skip installing mysql-server. ```bash sudo apt-get install -y mysql-server nginx supervisor unzip ``` -------------------------------- ### Set APP_URL with port Source: https://support.helpspot.com/index.php?id=658&pg=kb.page Use this example when your HelpSpot installation is accessible via an internal hostname with a custom port. The APP_URL must be in standard HTTP URL format and resolve to the public folder of your installation. ```plaintext APP_URL=http://myinternalapp:8080 ``` -------------------------------- ### Install HelpSpot via Command Line Source: https://support.helpspot.com/index.php?id=16&pg=kb.printer.friendly Run the HelpSpot installer interactively or with options. Use 'php hs install -h' to see available options. The installer will prompt for details, including the license file path. ```bash # Get the help menu to see available options php hs install -h # Run the installer interactively php hs install ``` -------------------------------- ### Get Saved Report via private.report.getSaved Source: https://support.helpspot.com/index.php?id=6&pg=kb.printer.friendly Example of retrieving report data using basic authentication. ```bash curl -u tim@ex.com:mypassword "http://.../api/index.php?method=private.filter.getSaved&xReport=12" ``` ```xml Comparison Matrix API Test 1754024400 1756357200 4 4 0 0 0 0 0 Open Date: Month Status August, 2025 Active 4 August, 2025 Status A 0 ``` -------------------------------- ### Install HelpSpot Source: https://support.helpspot.com/index.php?id=641&pg=kb.page Downloads, extracts, configures, and installs HelpSpot, including setting file ownership and SELinux contexts. ```bash cd ~/ curl -o helpspot.zip https://s3.amazonaws.com/helpspot-downloads/5.5.10/helpspot.zip sudo mv helpspot.zip /var/www cd /var/www sudo unzip -q helpspot.zip sudo mv helpspot_5.5.10 helpspot cd helpspot sudo cp .env.example .env # Update .env file. # Enter you database username and password setup previously and the APP URL. The app key will be created automatically during installation. sudo vim .env # Change owner of files sudo chown -R nginx:nginx /var/www/helpspot sudo chcon -Rv --user=system_u --role=object_r --type=httpd_sys_content_t /var/www/helpspot sudo chcon -Rv --type=httpd_sys_content_rw_t /var/www/helpspot/bootstrap sudo chcon -Rv --type=httpd_sys_content_rw_t /var/www/helpspot/storage # Download your helpspot license file and place it in /var/www/helpspot/ so that it can be easily referenced during the install process. sudo -u nginx php hs install ``` -------------------------------- ### customer.getRequests API Example Source: https://support.helpspot.com/index.php?id=6&pg=kb.printer.friendly Retrieves all requests for a customer using GET. Requires sEmail and sPassword parameters. ```bash curl "http://.../api/index.php?method=customer.getRequests&sEmail=tsmith@companyco.com&sPassword=nusoxdln" ``` ```xml 12489 2 0 1 1 0 2 1212776831 jiicxp RE: Information on Your Request Tim Smith tsmith@companyco.com Account Inquiries Active I am looking for information on my account. Tim Smith 12489jiicxp ``` -------------------------------- ### HelpSpot .env Configuration File Source: https://support.helpspot.com/index.php?id=655&pg=kb.page The .env file contains essential application and database connection settings. Copy the provided .env.example file to create this configuration. ```text APP_DEBUG=false APP_URL=https://example.org APP_KEY= DB_CONNECTION=mysql DB_HOST=localhost DB_PORT=3306 DB_DATABASE=helpspot DB_USERNAME=some_user DB_PASSWORD=some_pass QUEUE_CONNECTION=database ```