Why the app never holds a password#
Imagine the usual way to let an app read a spreadsheet: someone creates a password or a key, pastes it into the app's code, and hopes it never leaks. Keys get copied into chats, saved in documents and forgotten about long after the person who made them has left.
Harebell avoids all of that with two separate ideas. The first is a connection. An admin links a company service to Harebell once, for the whole company, and the credentials stay in your company's own cloud account. Harebell's side only learns that the connection exists. The second is a request, which is what your app makes. It names the one thing it needs, such as one channel or one spreadsheet, and says whether it reads or writes.
When the app runs, it holds only a placeholder in place of the real key. When the app makes a call, Harebell swaps in the real credential on the way out, and only for the things the app was approved for. The placeholder is worthless on its own, because it only works when a call goes through Harebell, so there is no real key in the code to leak or clean up.
What your app can reach#
An admin has to connect each service before apps can use it. Admins see what your company has connected on the Connections page of the console, and you can ask them if you are not sure. Today an app can ask for:
- Slack channels, which it can read, post to, or both.
- Google Sheets, Docs and other Drive files, one file at a time.
- Tables in a company Postgres database, which is the common kind of database.
Microsoft needs a word of explanation. Your company can connect Microsoft 365, and agents can work in Teams. But an app cannot yet ask to read a Microsoft file, such as an Excel workbook, so if your data lives there, it cannot be used from an app yet.
How to ask for it#
Tell your AI tool what the app should read, using the names you would use with a colleague:
The app should read the Initech sales spreadsheet, here is its link, and show the totals by region.
For a Google file, give your AI tool the file's link from your browser. Harebell works with one file at a time, so a folder will not do, and your AI tool will ask for the files inside it. The file also has to be shared with the Google user that your company set up for Harebell. If you do not know which user that is, ask an admin, who can find it on the Google connection.
For a Slack channel, say its name. For a database table, name the table and the connection your admin gave it. To try an app against a company database from your private copy, an admin has to have named you as a builder allowed to use it. Try your app before anyone else sees it explains what a private copy can reach.
Your AI tool also decides whether the app reads as itself or as each person who opens it. Reading as itself is the usual choice. Reading as each person means every viewer sees only what they could already read in Slack or Google, which is useful when the app shows different things to different people. Only Slack and Google allow it, and jobs and agents never do.
The rule that protects the data#
Here is the problem the rule solves. Sally Chen builds a sales board for the whole Sales team, 40 people, and it reads the #finance-reports channel. Only 12 people can read that channel. Without a check, the board would show finance numbers to 28 people who could never see them. The app did nothing wrong by its own lights, but the leak is in the gap between who can open the app and who can read the data.
So Harebell's rule is that an app may show data only to people who could already read it, unless the data's owner agrees to more. The release page checks this for you and tells you what it found. For each piece of data it says one of three things.
The first case is that everyone who can open the app can already read the data, or the app only posts, or each person reads as themselves. Then nobody is asked, and the app works for everyone from the first minute.
The second case is that some of the people who can open the app cannot read the data. Then the data's owner is asked. For a Slack channel, that is the person who created it. The release page shows a status such as Needs Ben's OK and says who it affects. You can release anyway. Until the owner answers, the app works for the people who can already read the data, and it refuses the others. For a table in a company database, where Harebell cannot see who the readers are, the app waits for the owner for everyone.
The third case is that Harebell cannot check yet. This happens when a Slack channel is private and Harebell's Slack app has not been invited to it. The release page says so, and someone who is in the channel invites the app.
In the example, Ben Okafor created #finance-reports. He gets a message with buttons asking whether the sales board may show the channel's data to the other 28 people. Until he answers, the 12 who can read the channel can open the board. Anyone else sees a page that says the app shows company data whose owner has not approved it for them yet, and to ask whoever sent the link.
What the owner sees#
The owner usually gets a direct message in Slack, or in Teams if that is what your company uses. It says which app is asking and who would newly see the data, and has buttons to approve or decline. For a Slack channel there is also a narrower yes, which opens the data only to the channel's own members. People who use neither can answer on an approvals page in the console. If the owner does not answer, Harebell reminds them after a day, brings in an admin after two days, and lets the request expire after a week. Approvals: why you sometimes wait covers all of this, including how to make it quick.
It keeps being checked#
Harebell does not check once and forget. People leave channels and lose access to files, so it keeps re-reading who can read each piece of data, about every 15 minutes, and sooner when Slack says membership changed. Someone who loses access to the data loses access to the app too, and you are told. If Harebell cannot check for about an hour, it lets in only people the owner has approved, and shows a page saying the app's data access is being checked.
If you own the data, you can take an app's access away at any time on the Connections page, under Apps using your data.
What you never see#
At no point do you handle a password, a key or a token. Your AI tool never sees one, the app's code never contains one, and the chat you have with your tool never mentions one. If something asks you to paste one, it is not Harebell.