# API定義のTalend Studioへのインポート

API定義をデータサービス内で使うには、Talend Cloud API DesignerからTalend Studioに直接インポートします。

## 始める前に

Talend Studioをインストールして起動し、Talend StudioをTalend Cloudに接続済みであること。詳細は、[Talend Studioをダウンロードしてインストール](https://help.qlik.com/talend/r/ja-JP/Cloud/installation-guide-linux/downloading-and-installing-talend-studio)、[Talend Studioを起動](https://help.qlik.com/talend/r/ja-JP/8.0/studio-user-guide/launching-talend-studio)、[Talend StudioをTalend Cloudに接続](https://help.qlik.com/talend/r/ja-JP/8.0/studio-user-guide/connect-studio-to-cloud)をご覧ください。

## 手順

1. [Window] (ウィンドウ) &gt; [Perspective] (パースペクティブ) &gt; Integrationの順にクリックして、Talend StudioのIntegrationパースペクティブを開きます。

   Talend Studioは次のようになります: ![Talend StudioインターフェイスでIntegrationパースペクティブが開いた状態。](https://help.qlik.com/talend/ja-JP/api-services-getting-started-guide-api-services-platform/Resources/images/integration.png)
2. [Repository] (リポジトリー)で[Metadata] (メタデータ)ノードを展開します。
3. [REST API Definitions] (REST API定義)を右クリックし、[Create API definition] (API定義を作成)を選択します。

   ![\[リポジトリー\]ツリービュー。](https://help.qlik.com/talend/ja-JP/api-services-getting-started-guide-api-services-platform/Resources/images/import_api.png)
4. ウィンドウが開いたら、[Import from API designer] (API Designerからインポート)を選択し、API定義(この例ではMovie catalog API)を選択します。

   ![\[Import API definition\] (API定義をインポート)ダイアログボックス。](https://help.qlik.com/talend/ja-JP/api-services-getting-started-guide-api-services-platform/Resources/images/import_api_2.png)
5. [Next] (次へ)をクリックします。
6. オプション: [Purpose] (目的)を入力します。
7. [Finish] (終了)をクリックします。

## タスクの結果

これで、API定義が[REST API Definitions] (REST API定義)ノードの下に表示されます。