Vidext v0.15.77 is out: See who spends your tokens, a tidier Settings, and more. Read the release notes →
Skip to Content
Vidext Docs

Salesforce

Register your organization's Salesforce app once, then connect your own Salesforce user so Vidext's agents can read your CRM records, Knowledge articles and files.

Connect your own Salesforce user and Vidext's agents can read what your Salesforce profile lets you see: CRM records such as accounts, contacts and opportunities, Knowledge articles and files. They only read. They never create, edit or delete anything in Salesforce. This page covers who can connect, how an admin sets up your organization's Salesforce app, what the agents read, the limits Salesforce sets, and how to disconnect or uninstall.

For every service Vidext connects to, see Integrations.

Who can connect

Salesforce works through an app your company creates in its own Salesforce org, called an External Client App. It takes two steps:

  1. An admin of your Vidext organization registers the app once. Someone who can create apps in your Salesforce Setup, usually a Salesforce admin, creates it, and a Vidext admin pastes its consumer key and consumer secret into Vidext. Until then nobody can connect Salesforce: members see the same page as everyone else, with Connect turned off and the names of the admins to ask, such as "Ask Ana or Marc to set it up."
  2. Each person connects with their own Salesforce user. Admins and members connect the same way. The connection is personal: other members cannot use it, and unlike GitHub or HubSpot it can't be shared with the organization.

Set up the Salesforce app (admins)

In Salesforce

  1. In Salesforce, open Setup, search for External Client App Manager, and select New External Client App.
  2. Give it a name, such as Vidext, and a contact email, and set Distribution State to Local.
  3. Under API (Enable OAuth Settings), turn on Enable OAuth and paste Vidext's callback URL. Copy it from the setup in Vidext, described below, with its copy button.
  4. Add two OAuth scopes: Manage user data via APIs (api) and Perform requests at any time (refresh_token, offline_access).
  5. Turn on Require Proof Key for Code Exchange (PKCE), Require secret for Web Server Flow and Require secret for Refresh Token Flow. We recommend turning on refresh token rotation too.
  6. Create the app, then open its OAuth settings and copy its consumer key and consumer secret.

A new app can take up to 30 minutes to start working in Salesforce. Until then, a sign-in can fail even when everything is right.

In Vidext

  1. Open Integrations and select the Salesforce card under Knowledge sources. While your organization has no Salesforce app, the page shows what Vidext will read, and an admin sees Install where other services have Connect.
  2. Select Install. The page opens Setup, with two steps and the permissions still below it. In Create the app in Salesforce, copy the callback URL with its copy button, then select Next. Cancel, Escape and your browser's Back button each close Setup and return to the page as it was.
  3. In Add the app's keys, paste the Consumer key and the Consumer secret.
  4. Choose the Environment from the list: Production or Developer Edition for an org you sign in to at login.salesforce.com, or Sandbox for a sandbox org you sign in to at test.salesforce.com.
  5. Select Save app. Connect appears on the same page, so you can connect your own Salesforce user.

Vidext stores the secret encrypted and never shows it again.

Change or remove the app

Admins find the app on Salesforce's page in Integrations, in the section Connected app of your organization, marked Admins only. It lists the setup steps as done, with the consumer key, the environment and when it was last updated. Members never see this section. The page's ⋯ menu keeps only Check now and Revoke access, which are about your own connection.

  • Change. Select Change at the end of a step to open it again. A step's details are entered again to save them: a new secret for the same consumer key and environment keeps every connection. Another consumer key or environment is another app: Vidext asks first, because saving it ends every member's Salesforce connection, and each member connects again through the new app. Change on the first step also shows the callback URL again.
  • Remove app. The Remove app button in the same section says that every member's Salesforce is disconnected. Vidext asks first. Removing the app ends every member's Salesforce connection. Nobody can connect Salesforce until an admin sets up an app again, and then each member connects again.

Connect Salesforce

  1. Open Integrations and select the Salesforce card under Knowledge sources.
  2. Check the page. Under Permissions, it lists what the agents can read (CRM records, Knowledge articles and files) and says they never change Salesforce records.
  3. Select Connect. Salesforce's sign-in opens in the same tab, at login.salesforce.com or test.salesforce.com, as your organization's app says.
  4. Sign in with your Salesforce user and allow access.
  5. Salesforce sends you back to Salesforce's page in Integrations, and the Salesforce card moves under Connected. Each permission now reads Enabled. Under Salesforce account, the page shows your username, your org ID, the environment and your org's My Domain.

Once your organization has its Salesforce app, the agents can also offer Salesforce on the card they show in the chat when a request needs it. See Knowledge sources.

What the agents read

The agents read what your own Salesforce profile and permission sets let you read, and nothing else:

  • CRM records. Accounts, contacts, leads, opportunities, cases, tasks, events, products and custom objects, each with its owner. Reading one record also lists up to 5 of each of these:
    • an account's contacts and open opportunities
    • an opportunity's products
    • a case's comments and emails
    • any record's files
  • Knowledge articles. Searching and listing find only published articles, in their latest version and in your org's default language.
  • Files stored in Salesforce. The agents can read them and build your courses from them. To use the pictures inside one, such as a PowerPoint or a PDF, ask for them: the agents copy the file into your organization's documents, as for a picture from a connected file.

Ask the agents in the chat, for example: "Which opportunities closing this quarter does Ana own?"

Paste a link to a record page in Salesforce Lightning, such as …lightning.force.com/lightning/r/<Object>/<Id>/view, and the agents open that record. Links to Salesforce Classic and to list views can't be opened.

  • The agents read Salesforce live. Vidext does not index Salesforce records.
  • A record outside your Salesforce access looks the same to the agents as a record that does not exist. Which objects and fields you can read is set by your Salesforce admin, so reconnecting does not change it.
  • Vidext only reads. Salesforce has no read-only permission for apps: the api scope carries your user's own API rights, and Vidext only ever sends read requests with it.

Limits

  • Salesforce edition. API access comes with the Enterprise, Unlimited, Performance and Developer editions. Professional Edition needs Salesforce's API add-on. Your Salesforce user also needs the API Enabled permission, in its profile or a permission set.
  • Daily API allowance. Every read the agents make is a Salesforce API request, and counts toward your org's daily API request allowance like any other app's. Once Salesforce reports that your org has used 90% of that allowance, Vidext pauses its reads, so your org's own tools keep the rest. Reads resume as the allowance frees up: Salesforce counts the last 24 hours.
  • Unused connections. A connection unused for 30 days may need reconnecting, when your Salesforce app limits how long an unused refresh token lasts. Select Reconnect and sign in again.

Disconnect

  1. Open Integrations and open the ⋯ menu on the Salesforce card under Connected.
  2. Select Revoke access, then confirm with Revoke.

When you disconnect:

  • The agents stop using Salesforce right away.
  • Vidext deletes the Salesforce sign-in it stored and asks Salesforce to end it. If Salesforce can't be reached, Vidext still disconnects you.
  • Your teammates keep their own connections.
  • You can connect again later.

Uninstall

To remove Vidext from your whole Salesforce org, a Salesforce admin deletes or turns off the External Client App in Salesforce's External Client App Manager. Connections made through it stop working.

Vidext isn't told about changes made in Salesforce. Connections and the registered app stay in Vidext until someone removes them there, so a Vidext admin should also select Remove app in Connected app of your organization, which ends every member's connection.

What happens to your data

DataAfter you disconnectAfter an admin changes the app to another one, or removes it
Your Salesforce sign-in, stored encryptedDeletedDeleted, for every member
Connection record: your Salesforce username, org ID, environment and My DomainKept, marked as revokedKept, marked as revoked
Your organization's Salesforce app: consumer key and environment, with the consumer secret stored encryptedKeptChanged, or deleted when removed
Salesforce records, articles and files the agents readNot kept, and not in the search index. The agents read them live.Same
Files the agents copied into your organization's documents at your request, such as a deck whose pictures you asked forKept in your organization's documents, like any file you attachKept

Chat messages that show Salesforce data stay in the chat, like any other message, until the person who owns the conversation deletes it. Disconnecting does not change them. See what Vidext stores.

If something goes wrong

  • Your organization hasn't set up its Salesforce app, or the app changed while you were connecting. Nothing was connected. Connect again. If there is no app, Connect is turned off and the page names the admins to ask. A Vidext admin sets it up once, as described above, and then you can connect.
  • Salesforce refuses your organization's app. Nothing was connected. A Vidext admin checks the app's consumer key and consumer secret in Connected app of your organization, on Salesforce's page in Integrations, and changes them if they are wrong.
  • You don't allow access on Salesforce's screen. Nothing changes. You can try again any time.
  • You sign in with a different Salesforce user or org, when you reconnect, for example. That sign-in replaces your connection, and from then on the agents read what the new user can see.
  • Salesforce doesn't let your user use its API. Nothing was connected. A Salesforce admin turns on API Enabled for your profile or a permission set. On Professional Edition, your org also needs Salesforce's API add-on.
  • Salesforce shows an error about the callback or redirect URL. The app's callback URL in Salesforce must match the one Vidext shows exactly. Copy it again with Change on the first step of Connected app of your organization.
  • The app was just created. It can take up to 30 minutes to start working. Try again later.
  • The connection needs a new sign-in. If Vidext shows Reconnect, select it and sign in again.

On this page