# Installation and Setup

**STRIKE** makes it easy for users to share actionable links that allow interactions with **canisters** on the **Internet Computer Protocol (ICP)**. Through **STRIKE Cards**, users can share custom links that perform canister actions, like placing bets, directly on social media platforms like **Twitter (X)**.

### **Downloading the** STRIKE **Chrome Extension**

Users need to install the STRIKE Chrome extension from the official STRIKE website to interact with STRIKE Cards and execute canister actions.

* Go to the official **STRIKE website** at [strike.oranj.co](https://strike.oranj.co/)
* Click on the **download link** to get the STRIKE Chrome extension.
* Open the downloaded file in Chrome and follow the prompts to install it.
* Ensure that the extension is active in your Chrome browser.
* Once installed, the STRIKE Chrome extension icon will appear in your Chrome toolbar.

### **Creating and Hosting the `actions.json` File**

STRIKE enables users to create and host custom **`actions.json` files** that define canister actions. These files allow users to specify actions like placing bets, transferring ownership, or interacting with other blockchain-related operations.

**Steps for Setting Up the `actions.json` File:**

* Write your **`actions.json` file** to define the actions users can take. For example, in the context of **BetBTC**, the actions might involve placing bets on political outcomes or sports events.
* Host the file on a public server such as **GitHub Pages** or **Google Drive**. Ensure that it is accessible via a URL.

**Example JSON File**:

```json
  "icon": "https://your-icon-url.png",
  "label": "Bet on President",
  "title": "Who will become the next President?",
  "description": "Place your bets using BetBTC through STRIKE",
  "canisterId": "your-canister-id",
  "links": {
    "actions": [
      {
        "label": "Click Here to Bet",
        "href": "/betAction.json"
      }
    ]
```

### **Sharing and Using** STRIKE **Cards for BetBTC**

**STRIKE Cards** share interactive links that allow users to perform actions like placing bets or executing smart contract functions. When shared on social media platforms such as Twitter, STRIKE Cards unfurl and display a visual preview with clickable action buttons.

In the case of **BetBTC**, users can place bets directly through the STRIKE Card.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.strike.oranj.co/installation-and-development/installation-and-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
