> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gbase.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# 管理画面（管理者向け）

> メンバー・部門・ストレージ・クレジットなど、組織全体の管理を行います。

export const KnowledgeChatbot = () => {
  useEffect(() => {
    if (typeof window === "undefined" || typeof document === "undefined") {
      return;
    }
    const CHATBOT_ID = "5c7ce716-1196-4b0c-92a2-12900ff360c8";
    const HIDE_STYLE_ID = "gptbase-hide-style";
    const WATCHER_FLAG = "__gbaseKnowledgeWatcherInstalled";
    const DECOY_FLAG = "__gbaseViewportDecoyInstalled";
    const DECOY_ATTR = "data-gbase-viewport-decoy";
    const WIDGET_SELECTOR = "#gptbase-bubble-button, #gptbase-message-bubbles, #gptbase-bubble-window";
    const onKnowledgeRoute = () => window.location.pathname.startsWith("/knowledge");
    const ensureViewportDecoy = () => {
      const head = document.head;
      const metas = Array.prototype.slice.call(head.querySelectorAll('meta[name="viewport"]'));
      if (metas.length === 0) return;
      if (!metas[0].hasAttribute(DECOY_ATTR)) {
        const decoy = document.createElement("meta");
        decoy.setAttribute("name", "viewport");
        decoy.setAttribute(DECOY_ATTR, "1");
        decoy.setAttribute("content", metas[0].getAttribute("content") || "width=device-width, initial-scale=1");
        head.insertBefore(decoy, metas[0]);
      }
      let keptDecoy = false;
      Array.prototype.forEach.call(head.querySelectorAll('meta[name="viewport"]'), meta => {
        const isDecoy = meta.hasAttribute(DECOY_ATTR);
        const isPluginMeta = (meta.getAttribute("content") || "").includes("user-scalable=no");
        if (isDecoy) {
          if (keptDecoy) meta.remove(); else keptDecoy = true;
        } else if (isPluginMeta) {
          meta.remove();
        }
      });
    };
    const installViewportDecoyOnce = () => {
      if (window[DECOY_FLAG]) return;
      window[DECOY_FLAG] = true;
      ensureViewportDecoy();
      const observer = new MutationObserver(() => ensureViewportDecoy());
      observer.observe(document.head, {
        childList: true
      });
    };
    const showWidget = () => {
      const style = document.getElementById(HIDE_STYLE_ID);
      if (style) style.remove();
    };
    const hideWidget = () => {
      if (document.getElementById(HIDE_STYLE_ID)) return;
      const style = document.createElement("style");
      style.id = HIDE_STYLE_ID;
      style.textContent = `${WIDGET_SELECTOR} { display: none !important; }`;
      document.head.appendChild(style);
    };
    const syncVisibility = () => {
      if (onKnowledgeRoute()) showWidget(); else hideWidget();
    };
    const injectPluginOnce = () => {
      if (document.getElementById(CHATBOT_ID)) return;
      window.gptbaseConfig = {
        chatbotId: CHATBOT_ID,
        baseUrl: "https://admin.gbase.ai",
        apiBaseUrl: "https://admin.gbase.ai/api"
      };
      const script = document.createElement("script");
      script.src = "https://gbase.ai/plugin/plugin.js";
      script.id = CHATBOT_ID;
      script.defer = true;
      document.body.appendChild(script);
    };
    const installRouteWatcherOnce = () => {
      if (window[WATCHER_FLAG]) return;
      window[WATCHER_FLAG] = true;
      const fire = () => window.requestAnimationFrame(syncVisibility);
      ["pushState", "replaceState"].forEach(method => {
        const original = window.history[method];
        window.history[method] = function patched(...args) {
          const result = original.apply(this, args);
          fire();
          return result;
        };
      });
      window.addEventListener("popstate", fire);
      window.addEventListener("hashchange", fire);
    };
    try {
      installViewportDecoyOnce();
      injectPluginOnce();
      installRouteWatcherOnce();
      syncVisibility();
    } catch (error) {
      console.error("[KnowledgeChatbot] setup failed:", error);
    }
  }, []);
  return null;
};

<KnowledgeChatbot />

管理画面は、オーナー・管理者権限を持つユーザー向けの管理コンソールです。左サイドバーの「管理画面」をクリックすると表示されます。

<Note>
  「管理画面」メニューは、オーナーまたは管理者権限を持つユーザーにのみ表示されます。管理者の追加は本ページの「各種設定」をご参照ください。
</Note>

### 1. ダッシュボード

組織全体の利用状況をひと目で確認できます。

<Frame caption="ダッシュボード">
  <img src="https://mintcdn.com/sparticle-fcbbc7ab/1ZPHjwLm0lzZf2Fz/images/knowledge/17-admin-overview.png?fit=max&auto=format&n=1ZPHjwLm0lzZf2Fz&q=85&s=d741b5befe94c293434aee8172d24fd5" alt="ダッシュボード" width="1872" height="907" data-path="images/knowledge/17-admin-overview.png" />
</Frame>

* 表示指標：プロジェクト総数・チャット総数・ディープリサーチ数・アクティブユーザー数・ウェブ検索数・LivePages・チャットメッセージ数・会議数
* 「期間を選択」「部門を選択」で集計範囲を絞り込めます。
* 「データトレンド」グラフで利用量の推移を確認できます。

### 2. メンバー

チームメンバーと権限を管理します。

<Frame caption="メンバー管理画面">
  <img src="https://mintcdn.com/sparticle-fcbbc7ab/1ZPHjwLm0lzZf2Fz/images/knowledge/18-admin-members.png?fit=max&auto=format&n=1ZPHjwLm0lzZf2Fz&q=85&s=cf588a32d5079944efc5406ac068f3c4" alt="メンバー管理画面" width="1872" height="907" data-path="images/knowledge/18-admin-members.png" />
</Frame>

1. 「メンバーを招待」をクリックします。
2. 招待したいメンバーのメールアドレスを入力して送信します。
3. 招待されたメンバーが登録を完了すると、「登録済」になります。

メンバー一覧では、各メンバーの部門・権限（オーナー／管理者／一般）・ステータス（登録済／招待中）を確認できます。

### 3. 部門

部署と所属メンバーを管理します。

<Frame caption="部門管理画面">
  <img src="https://mintcdn.com/sparticle-fcbbc7ab/1ZPHjwLm0lzZf2Fz/images/knowledge/23-admin-org.png?fit=max&auto=format&n=1ZPHjwLm0lzZf2Fz&q=85&s=cedbb5ba4c98b2637ffe9b429a94e14a" alt="部門管理画面" width="1861" height="971" data-path="images/knowledge/23-admin-org.png" />
</Frame>

* 「部署を追加」：組織内に部署を作成します。
* 「メンバーを招待」：部署にメンバーを追加します。
* 部署に未所属のメンバーは「未割り当てメンバー」に表示されます。

### 4. ストレージ管理

組織全体のストレージ割り当てを管理します。

<Frame caption="ストレージ管理画面">
  <img src="https://mintcdn.com/sparticle-fcbbc7ab/1ZPHjwLm0lzZf2Fz/images/knowledge/20-admin-storage.png?fit=max&auto=format&n=1ZPHjwLm0lzZf2Fz&q=85&s=d476c6167fcaf6d70fa59db780bed3f9" alt="ストレージ管理画面" width="1861" height="1177" data-path="images/knowledge/20-admin-storage.png" />
</Frame>

* 「概要」：組織全体のストレージ使用状況・空き容量・アクティブシート数を確認できます。
* 「グローバルストレージポリシー」：ユーザーごとのデフォルト割り当て容量を設定できます。「個別シート制限」を有効にすると、特定ユーザーに個別の上限を設定できます。
* 「シート管理」：ユーザーごとの使用量・割り当てを一覧で確認できます。

### 5. クレジット管理

AI 機能の利用量（クレジット）を管理します。

<Frame caption="クレジット管理画面">
  <img src="https://mintcdn.com/sparticle-fcbbc7ab/1ZPHjwLm0lzZf2Fz/images/knowledge/21-admin-credits.png?fit=max&auto=format&n=1ZPHjwLm0lzZf2Fz&q=85&s=3fff00192c0561e36344d42828f2ea16" alt="クレジット管理画面" width="1861" height="1320" data-path="images/knowledge/21-admin-credits.png" />
</Frame>

* 「リソース概要」：利用可能クレジット・総消費量・今月の消費・割り当てモードを確認できます。
* 「日別消費トレンド」：日ごとのクレジット消費をグラフで確認できます。
* 「日別ユーザー使用内訳」：ユーザー別・機能別（PPT／エージェント／議事録）の消費を一覧で確認でき、「CSV エクスポート」でダウンロードできます。

### 6. 各種設定

企業の基本情報と組織ポリシーを管理します。

<Frame caption="各種設定画面">
  <img src="https://mintcdn.com/sparticle-fcbbc7ab/1ZPHjwLm0lzZf2Fz/images/knowledge/22-admin-settings.png?fit=max&auto=format&n=1ZPHjwLm0lzZf2Fz&q=85&s=96f5fe893a320e03fcdebc4f1ca21955" alt="各種設定画面" width="1872" height="907" data-path="images/knowledge/22-admin-settings.png" />
</Frame>

| 設定項目      | 内容                                                                |
| --------- | ----------------------------------------------------------------- |
| 企業        | 企業名・ロゴ（200px 以上の正方形推奨）を編集します                                      |
| 通知設定      | 支払い通知・サブスクリプション更新通知のオン／オフを設定します                                   |
| 専門用語管理    | ドキュメントをアップロードすると専門用語が自動抽出され、会議の文字起こし・要約の品質向上に使用されます（全部門メンバーが利用可能） |
| IP アクセス制御 | アクセスを許可する IP アドレス・IP 範囲（ホワイトリスト）を管理し、アクセスログを表示します                 |
| 権限設定      | オーナー権限の移譲、管理者の追加を行います                                             |

<Note>
  業界用語や社内用語が多い組織では、「専門用語管理」に用語集ドキュメントを登録しておくと、会議の文字起こし・要約の精度が向上します。
</Note>
