---
updatedAt: 2025-05-15T14:13:12.000Z
agentTools:
  projectIndex: https://documentation.safecube.ai/llms.txt
---

# Installation Guide

This document provides step-by-step instructions to install and configure the Safecube package in your Salesforce environment.

> 📘 Note
>
> This installation and configuration process needs to be completed only once per Salesforce instance.

For more information on using the Safecube application within Salesforce, [refer to our guide](https://documentation.safecube.ai/docs/safecube-salesforce-application#/).

<br />

***

## 1. Install the Safecube Package

To begin, install the Safecube package using the following link:

> 👍 [Install Safecube Package](https://login.salesforce.com/packaging/installPackage.apexp?p0=04tgK0000001qcTQAQ)

You will be prompted to:

* Log in to your Salesforce environment.
* Confirm installation of a non-Salesforce application.
* Authorize `api.sinay.ai` to send data to Salesforce for container tracking integration.

![](https://files.readme.io/466c11a4141f6dfa645fe4561fa2a5875bc376e10e8b8484af75c46c762eefdb-image.png)

<br />

***

## 2. Assign the Permission Set

After installing the package:

* Assign the `Safecube` permission set to all users who need access.

&#x20;

**Steps:**

1. Navigate to **Setup** in Salesforce.
2. In the Quick Find box, type **Permission Sets** and select it.

   <Image align="center" width="100px" src="https://files.readme.io/e93dc04f18000743a12a22bb9d325e3be4d4847605d8a00f9e6634c076752c63-image.png" />
3. Click on the `Safecube` permission set.

   <Image align="center" width="500px" src="https://files.readme.io/6b3404a3107e6491a7a32188b37792dafdac7b09e6d3c195ea50f53e4cfeb4d6-image.png" />
4. Click **Manage Assignments**.

   <Image align="center" width="5px" src="https://files.readme.io/52c3f65aaab74271ccd9e52e4a7f1d30ff32f130ec850e45b62c348d07780089-image.png" />
5. Click **Add Assignments**.

   <Image align="center" width="500px" src="https://files.readme.io/f8b20d6b704523f0f7cfdde7f6d03d9a5952c1456e3e955f702904221ed9b085-image.png" />
6. Select the users who need access and click **Next**, then **Assign**.

***

## 3. Activate the Site to Obtain a Public URL

Salesforce requires a public site URL for external integrations.

**Steps:**

1. Go to **Setup** in Salesforce.
2. In the Quick Find box, type **Sites** and select it.

   <Image align="center" width="100px" src="https://files.readme.io/5b1ba899b10251d79b7615252d96adc1c39999febd0f274e0568a09a22d6f662-image.png" />
3. Click **New** to create a new site.

   <Image align="center" width="500px" src="https://files.readme.io/02a6b3743ab90562e02ef5739ed8dd0bf3c6aac0304babe24aef625bf23f2af6-image.png" />
4. Fill in the required information:
   * **Site Label:** `Safecube`
   * **Site Name:** `Safecube`
   * **Default Web Address:** `Safecube`
   * **Active:** ✅ (Make sure this is checked)
   * **Active Site Home Page:** `Unauthorized`

     <Image align="center" width="500px" src="https://files.readme.io/7d8f7148c5f977c2488ad51756a5c50c6226b563a4d575e0771480553fed0edf-image.png" />
5. Click **Save**.

***

## 4. Assign technical Guest User Permission Set

You must assign a Guest User, that will have permission on Safecube application settings (including API key).

**Steps:**

1. In the Quick Find box, type **Sites** and select it.
2. Find the Safecube site, and clic **Safecube**

   <Image align="center" width="300px" src="https://files.readme.io/c42f94228a212e3e1dc153617be0d2a2dd2a54073727db1e72b184f94105999a-image.png" />
3. Select **Public access Settings**

   <Image align="center" width="500px" src="https://files.readme.io/fad2d79890fe16f8b16f280dbc8b98deef92326d7d7e42c48db5e461501c2af3-image.png" />
4. Select **View Users**

   <Image align="center" width="500px" src="https://files.readme.io/19c926b65a5989165de762e7be13f3a2c04ed82bad27986d8086c037494c4c2e-image.png" />
5. Clic **Site Guest User**

   <Image align="center" width="200px" src="https://files.readme.io/93e491eebdaf4502317dbe6a48d5ce8e16b3d24cc53d17ace6d410f0e2492d65-image.png" />
6. Select **Permission Set Assignment** and then **Edit Assignments**

<Image align="center" width="500px" src="https://files.readme.io/eb7da68827c87bbbac3f4f2440eaf5d15c4dba6cc8ae766e210a7129afee4522-image.png" />

7. Search **Safecube Guest User**, Click **Add** and then **Save**

   <Image align="center" width="300px" src="https://files.readme.io/6f6c37438632aff9c40dcfa07cbbaf3adea2282a103c3248dcc1a4fd88b94a53-image.png" />

<br />

***

## 5. Configure your API key

The API Key is necessary to give you the rights to access container tracking data.

**Steps:**

1. In the Quick Find box, type **Custom Settings** and select it.
2. Next to "Safecube Settings", select **Manage**

   <Image align="center" width="300px" src="https://files.readme.io/e93b92440ad61edf3212037c94e336bca0e2df37dc03d557b0f77e2b16e8822d-image.png" />
3. Select **New**

   <Image align="center" width="300px" src="https://files.readme.io/04ef60660322df7b3ed507f34394ada19a9a4e3708a12bc8431f2a835223879a-image.png" />
4. In another browser tab, [look for your API key in Safecube app](https://app.safecube.ai/api/credentials) and **Copy your API key**.

   <Image align="center" width="300px" src="https://files.readme.io/4be2a9d1ccc59a27e9c06c03c169fea9ebe5aac0b7900e3dc945e8afab8725bd-image.png" />
5. Back to Safecube Settings in Salesforce, **paste the API key** in the API Key field, and **Save**

   <Image align="center" width="300px" src="https://files.readme.io/ac7cc84766813df7ac51d0e70c3f39d20cc82ed4ee56283ad26d25f83391daa4-image.png" />

***

## 6. Set up Safecube public URL

We will use this public URL to send the tracking information to your salesforce instance.

**Steps:**

1. In the Quick Find box, type **Sites** and select it.
2. In **Safecube**, Copy the **Domain Name**

> ❗️ Get the correct url
>
> Don't select it and copy the selection : this will not work (you won't be able to create your endpoint in step 7).
>
> Instead right-click and select "Copy link address".

<Image align="center" width="500px" src="https://files.readme.io/f8bda066f5d8e33d2968b409fd9e2c46261ec5f86fd26575e553cea6b97bfbb5-image.png" />

3. In the Quick Find box, type **Custom Settings** and select it.
4. <Image align="center" width="100px" src="https://files.readme.io/ed08e556be6b14f5854ec79d91a01c1235f8914d2b0584e64de29ce12006e115-image.png" />

   Select **Safecube Settings**
5. Select **Manage**

   <Image align="center" width="500px" src="https://files.readme.io/b02833dd6c5d8992b51aefd0d1913d1470a67dacfe3239879ae326d5f3b6f827-image.png" />
6. Select **Edit**

   <Image align="center" width="500px" src="https://files.readme.io/91b3212f17a4c34a853408f43e92320d92c112a3054be36e0ca1ca67f18132d5-image.png" />
7. Paste the **Public URL** you copied in step 2, and **Save**

   <Image align="center" width="500px" src="https://files.readme.io/7c962b7ceabce31ed8bd0921840c274329be2333f12762911c892cbcdd0a5dbc-image.png" />

***

## 7. Activate the endpoint

**Steps:**

1. Open App Launcher, and then the **Safecube** application.

   <Image align="center" width="200px" src="https://files.readme.io/f067c00a048b65e94f381044f90675002992b3404479f9727c594094543d9daf-image.png" />
2. Select the **Safecube Settings** tab.
3. Select **Create endpoint**

   <Image align="center" width="300px" src="https://files.readme.io/307dca325e398c9b2aae57eaae2e65807430a5bf427c405ee9ce49bf2c73fb8c-image.png" />

***

> 👍 Congrats !
>
> You have completed the installation procedure. You can now proceed to using the Safecube Container tracking app in your Salesforce instance.

***

## Need Help?

If you encounter issues or have questions, feel free to [reach out to our support team.](https://app.safecube.ai/contact)