Installation
Wps
---
title: WPS Add-in Installation
description: How to install WPS add-ins, including both online and script methods
keywords: sally, installation, WPS add-in, WPS plugin
---
 
# WPS Add-in
 
## Online Installation (Windows)
 
1. Open the WPS client and open a document.  
2. Open the [WPS Add-in Installation Link](https://sallybot.cn/wps-doc/entry/publish.html).  
3. Click to install the wps-doc or wps-sheet plugin.  
4. After installation, open a new WPS document, wait a moment, and you will see the Sally menu on the toolbar.
 
## Script Installation (Windows/Mac)
 
Copy and paste the following command in your terminal or PowerShell:
 
### macOS (Terminal)
 
Copy and paste the following command into Terminal:
 
```bash
mkdir -p "$HOME/Library/Containers/com.kingsoft.wpsoffice.mac/Data/.kingsoft/wps/jsaddons" && echo '<?xml version="1.0" encoding="UTF-8"?><jsplugins><jspluginonline name="wps-doc" enable="enable_dev" install="https://www.sally.bot" url="https://www.sally.bot/wps-doc/entry/" type="wps" debug=""/><jspluginonline name="wps-sheet" enable="enable_dev" install="https://www.sally.bot" url="https://www.sally.bot/wps-sheet/entry/" type="et"/></jsplugins>' > "$HOME/Library/Containers/com.kingsoft.wpsoffice.mac/Data/.kingsoft/wps/jsaddons/publish.xml" && echo "[SUCCESS] WPS Plugin installed successfully! Please restart WPS Office"

Windows (CMD)

Copy and paste the following command into CMD:

powershell -NoProfile -ExecutionPolicy Bypass -Command "$d = $env:APPDATA + '\kingsoft\wps\jsaddons'; New-Item -ItemType Directory -Force -Path $d | Out-Null; $xml = '<?xml version=\"1.0\" encoding=\"UTF-8\"?><jsplugins><jspluginonline name=\"wps-doc\" enable=\"enable_dev\" install=\"https://www.sally.bot\" url=\"https://www.sally.bot/wps-doc/entry/\" type=\"wps\" debug=\"\"/><jspluginonline name=\"wps-sheet\" enable=\"enable_dev\" install=\"https://www.sally.bot\" url=\"https://www.sally.bot/wps-sheet/entry/\" type=\"et\"/></jsplugins>'; [System.IO.File]::WriteAllText($d + '\publish.xml', $xml, [System.Text.Encoding]::UTF8); Write-Host '[SUCCESS] WPS Plugin installed successfully! Please restart WPS Office'"

After the command finishes running, restart WPS. If a permission dialog pops up, click Confirm. Wait a moment, and the Sally menu will appear on the ribbon.