summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJay V <[email protected]>2025-07-16 16:44:28 -0400
committerJay V <[email protected]>2025-07-16 16:44:28 -0400
commit7520f5efa88056165b5a657b13d8161f39b38ed5 (patch)
treebe375594a2edf921a29b3da24850b217e1a2095a
parenteb4cdf4b20415540fe5b29c558fb249c53561868 (diff)
downloadopencode-7520f5efa88056165b5a657b13d8161f39b38ed5.tar.gz
opencode-7520f5efa88056165b5a657b13d8161f39b38ed5.zip
docs: update enterprise doc
-rw-r--r--packages/web/src/content/docs/docs/enterprise.mdx54
1 files changed, 33 insertions, 21 deletions
diff --git a/packages/web/src/content/docs/docs/enterprise.mdx b/packages/web/src/content/docs/docs/enterprise.mdx
index 0d1ac11b3..d73d1d3a4 100644
--- a/packages/web/src/content/docs/docs/enterprise.mdx
+++ b/packages/web/src/content/docs/docs/enterprise.mdx
@@ -23,7 +23,7 @@ Since opencode is open source and does not store any of your code or context dat
**opencode does not store your code or context data.** All processing happens locally or through direct API calls to your AI provider.
-The only caveat here is the optional `/share` feature that must be manually enabled.
+The only caveat here is the optional `/share` feature.
---
@@ -33,6 +33,17 @@ If a user enables the `/share` feature, the conversation and the data associated
The data is currently served through our CDN's edge network, and is cached on the edge near your users.
+We recommend you disable this for your trial.
+
+```json title="opencode.json"
+{
+ "$schema": "https://opencode.ai/config.json",
+ "share": "disabled"
+}
+```
+
+[Learn more about sharing](/docs/share).
+
---
### Code ownership
@@ -51,40 +62,41 @@ pricing and implementation options.
### SSO
-SSO integration can be implemented for enterprise deployments after your trial. Currently users manage and configure individual API keys locally.
-
-This can be switched to a centralized authentication system that your organization uses.
-
----
-
-### Self-hosting
-
-The share feature can be self-hosted and the share pages can be made accessible
-only after the user has been authenticated.
+SSO integration can be implemented for enterprise deployments after your trial.
+This will allow your team's session data and shared conversations to be protected
+by your enterprise's authentication system.
---
-### Private NPM registries
+### Private NPM
-opencode supports private npm registries through Bun's native `.npmrc` file support. If your organization uses a private registry (such as JFrog Artifactory, Nexus, or similar), ensure developers are authenticated before running opencode.
+opencode supports private npm registries through Bun's native `.npmrc` file support. If your organization uses a private registry, such as JFrog Artifactory, Nexus, or similar, ensure developers are authenticated before running opencode.
To set up authentication with your private registry:
```bash
-# Authenticate with your enterprise registry
npm login --registry=https://your-company.jfrog.io/api/npm/npm-virtual/
-
-# This creates ~/.npmrc with authentication
-# opencode will automatically use it through Bun's native support
```
+This creates `~/.npmrc` with authentication details. opencode will automatically
+pick this up.
+
+:::caution
+You must be logged into the private registry before running opencode.
+:::
+
Alternatively, you can manually configure a `.npmrc` file:
-```bash
-# ~/.npmrc
+```bash title="~/.npmrc"
registry=https://your-company.jfrog.io/api/npm/npm-virtual/
//your-company.jfrog.io/api/npm/npm-virtual/:_authToken=${NPM_AUTH_TOKEN}
```
-**Important**: Developers must be logged into the private registry before running opencode
-to ensure packages can be installed from your enterprise registry.
+Developers must be logged into the private registry before running opencode to ensure packages can be installed from your enterprise registry.
+
+---
+
+### Self-hosting
+
+The share feature can be self-hosted and the share pages can be made accessible
+only after the user has been authenticated.