{"id":30316,"date":"2021-08-24T10:17:59","date_gmt":"2021-08-24T09:17:59","guid":{"rendered":"https:\/\/multisite.korebots.com\/v9-0\/uncategorised-ja\/installing-the-botkit-sdk\/"},"modified":"2021-08-24T10:18:33","modified_gmt":"2021-08-24T09:18:33","slug":"installing-the-botkit-sdk","status":"publish","type":"post","link":"https:\/\/multisite.korebots.com\/v9-0\/uncategorised-ja\/installing-the-botkit-sdk\/","title":{"rendered":"BotKit SDK \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<section class=\"l-section wpb_row height_auto\"><div class=\"l-section-h i-cf\"><div class=\"g-cols vc_row via_grid cols_1 laptops-cols_inherit tablets-cols_inherit mobiles-cols_1 valign_top type_default stacking_default\"><div class=\"wpb_column vc_column_container\"><div class=\"vc_column-inner\"><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><p>Kore.ai BotKit SDK\u306f\u3001<em>Node.js<\/em> \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u52d5\u4f5c\u3057\u307e\u3059\u3002\u72ec\u81ea\u306e\u30ea\u30d0\u30fc\u30b9 \u30d7\u30ed\u30ad\u30b7\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3001\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u53ef\u7528\u6027\u3001\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306a\u3069\u306e\u95a2\u6570\u8981\u4ef6\u3092\u6e80\u305f\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001BotKit SDK \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306a\u6982\u8981\u3092\u8aac\u660e\u3057\u307e\u3059\u3002Kore.ai \u30b5\u30f3\u30d7\u30eb \u30dc\u30c3\u30c8\u3092\u4f7f\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u8a73\u7d30\u306a\u30a8\u30f3\u30c9 \u30c4\u30fc \u30a8\u30f3\u30c9\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/multisite.korebots.com\/v9-0\/uncategorised-ja\/kore-ai-botkit-sdk-tutorial\/?lang=ja\">Kore.ai BotKit SDK Tutorial<\/a> \u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002BotKit SDK \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u304c\u5fc5\u8981\u3067\u3059:<\/p>\n<ul>\n<li>\u30dc\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u30dc\u30c3\u30c8\u3092 Web\/\u30e2\u30d0\u30a4\u30eb \u30c1\u30e3\u30cd\u30eb\u7528\u306b\u8a2d\u5b9a\u3057\u3066\u3001Kore.ai \u30dc\u30c3\u30c8 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u767b\u9332\u3057\u307e\u3059\u3002<\/li>\n<li>BotKit SDK \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002<\/li>\n<li><span style=\"color: #0000ff\">config.json<\/span> \u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"%E6%89%BF%E8%AA%8D\"><\/span><span style=\"font-weight: 400\">\u627f\u8a8d<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400\">BotKit SDK \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u524d\u63d0\u3068\u3057\u3066\u3001Kore.ai \u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc \u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3001SDK \u30a2\u30d7\u30ea\u3092 Kore.ai \u30dc\u30c3\u30c8 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u767b\u9332\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span><span style=\"font-weight: 400\">\u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc\u3067\u306f\u30dc\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3001[API \u62e1\u5f35] &gt; [BotKit SDK] \u30bb\u30af\u30b7\u30e7\u30f3\u3067\u305d\u306e\u30dc\u30c3\u30c8\u7528\u306e\u30a2\u30d7\u30ea\u3092\u767b\u9332\u307e\u305f\u306f\u4f5c\u6210\u3057\u3066\u3001\u30a2\u30d7\u30ea\u3068 \u30dc\u30c3\u30c8 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u9593\u306e\u901a\u4fe1\u306e\u305f\u3081\u306e\u76f8\u4e92 SSL \u8a8d\u8a3c\u3084\u3001SDK \u304b\u3089 Kore.ai \u30dc\u30c3\u30c8 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3078\u306e API \u547c\u51fa\u3057\u306e\u8a8d\u8a3c\u306b\u4f7f\u7528\u3055\u308c\u308b <strong>ClientID<\/strong> \u3068 <strong>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30b7\u30fc\u30af\u30ec\u30c3\u30c8<\/strong>\u306e\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u8cc7\u683c\u60c5\u5831\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/span> SDK \u306e <span style=\"color: #0000ff\">config.json<\/span> \u30d5\u30a1\u30a4\u30eb\u3067\u306f\u3001\u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc\u304b\u3089\u4ee5\u4e0b\u306e\u8a8d\u8a3c\u30ad\u30fc\u3092\u30b3\u30d4\u30fc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>appId<\/code> = ClientID<\/li>\n<li><code>appKey<\/code> \u30fc \u30af\u30e9\u30a4\u30a2\u30f3\u30c8 \u30b7\u30fc\u30af\u30ec\u30c3\u30c8<\/li>\n<\/ul>\n<p>&lt;span style=&quot;font-weight: 400&quot;&gt;\u8a73\u3057\u304f\u306f\u3001 &lt;\/span&gt;&lt;a href=&quot;\/docs\/bots\/kore-web-sdk\/sdk-app-registration\/&quot;&gt;&lt;span style=&quot;font-weight: 400&quot;&gt;\u300cSDK\u30a2\u30d7\u30ea\u306e\u767b\u9332\u300d&lt;\/span&gt;&lt;\/a&gt;&lt;span style=&quot;font-weight: 400&quot;&gt;\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002&lt;\/span&gt;<span style=\"font-weight: 400\">\u8a73\u3057\u304f\u306f <\/span><a href=\"https:\/\/multisite.korebots.com\/v9-0\/uncategorised-ja\/sdk-app-registration\/?lang=ja\"><span style=\"font-weight: 400\">SDK\u30a2\u30d7\u30ea\u306e\u767b\u9332<\/span><\/a><span style=\"font-weight: 400\">\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><div class=\"wpb_text_column\"><div class=\"wpb_wrapper\"><h2><span class=\"ez-toc-section\" id=\"%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%A8%E3%82%BB%E3%83%83%E3%83%88%E3%82%A2%E3%83%83%E3%83%97\"><\/span><span style=\"font-weight: 400\">\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7<\/span><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><span style=\"font-weight: 400\">Kore.ai BotKit SDK \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3001\u4ee5\u4e0b\u306e GitHub \u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3067\u304d\u307e\u3059\u3002<\/span><a href=\"https:\/\/github.com\/Koredotcom\/BotKit\"><span style=\"font-weight: 400\">https:\/\/github.com\/Koredotcom\/BotKit<\/span><\/a> <span style=\"font-weight: 400\">SDK \u3092\u8a2d\u5b9a\u3059\u308b\u306b\u306f\u3001<span style=\"color: #0000ff\">config.json<\/span> \u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30ad\u30fc\u3092\u5b9a\u7fa9\u3057\u3066\u3001BotKit \u3092\u7a3c\u50cd\u3055\u305b\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/span><\/p>\n<table>\n<thead>\n<tr>\n<th>\u30ad\u30fc<\/th>\n<th>\u8aac\u660e<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>&quot;server&quot;: {<\/code> &quot;port&quot;: }<\/td>\n<td>BotKit Node.js \u30a2\u30d7\u30ea\u3092\u5b9f\u884c\u3059\u308b\u30dd\u30fc\u30c8\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>app&quot;: {<\/code> &quot;apiPrefix&rdquo; : }<\/td>\n<td>Node.js express \u30eb\u30fc\u30c8\u306e API \u30d1\u30b9\u306e\u30d7\u30ec\u30d5\u30a3\u30c3\u30af\u30b9\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/td>\n<\/tr>\n<tr>\n<td><code>&quot;credentials&quot;: {<\/code> &quot;appId&quot;: }<code><\/code><\/td>\n<td>SDK \u30a2\u30d7\u30ea\u306e\u767b\u9332\u6642\u306b Kore \u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc\u3067\u751f\u6210\u3055\u308c\u308b\u30af\u30e9\u30a4\u30a2\u30f3\u30c8 ID \u306e\u5024\u3067\u3059\u3002<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>JWT \u30c8\u30fc\u30af\u30f3\u306e\u6709\u52b9\u671f\u9650\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 60 \u79d2\u3067\u3059\u3002\u3053\u308c\u306f\u4ee5\u4e0b\u306e KoreConfig \u306e\u8a2d\u5b9a\u3067\u5909\u66f4\u3067\u304d\u307e\u3059:<\/p>\n<pre>&quot;botkit&quot;:{ &quot;jwt_expiry&quot;: 300 \/\/seconds }<\/pre>\n<p><span style=\"font-weight: 400\">BotKit SDK \u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001<strong>\u30bf\u30fc\u30df\u30ca\u30eb<\/strong> \u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u3001\u6b21\u306e\u3088\u3046\u306b\u5165\u529b\u3057\u307e\u3059:<\/span> <code>node app.js<\/code><\/p>\n<\/div><\/div><div class=\"w-separator size_small with_line width_default thick_1 style_solid color_border align_center\"><div class=\"w-separator-h\"><\/div><\/div><\/div><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Kore.ai BotKit SDK\u306f\u3001Node.js \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3057\u3066\u52d5\u4f5c\u3057\u307e\u3059\u3002\u72ec\u81ea\u306e\u30ea\u30d0\u30fc\u30b9 \u30d7\u30ed\u30ad\u30b7\u3001\u30d5\u30a1\u30a4\u30a2\u30a6\u30a9\u30fc\u30eb\u3001\u30ed\u30fc\u30c9\u30d0\u30e9\u30f3\u30b5\u30fc\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u53ef\u7528\u6027\u3001\u30b9\u30b1\u30fc\u30e9\u30d3\u30ea\u30c6\u30a3\u3001\u30d1\u30d5\u30a9\u30fc\u30de\u30f3\u30b9\u306a\u3069\u306e\u95a2\u6570\u8981\u4ef6\u3092\u6e80\u305f\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3067\u306f\u3001BotKit SDK \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u8a2d\u5b9a\u306b\u95a2\u3059\u308b\u8a73\u7d30\u306a\u6982\u8981\u3092\u8aac\u660e\u3057\u307e\u3059\u3002Kore.ai \u30b5\u30f3\u30d7\u30eb \u30dc\u30c3\u30c8\u3092\u4f7f\u3063\u305f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3068\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306e\u8a73\u7d30\u306a\u30a8\u30f3\u30c9 \u30c4\u30fc \u30a8\u30f3\u30c9\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306b\u3064\u3044\u3066\u306f\u3001Kore.ai BotKit SDK Tutorial \u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002BotKit SDK \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306b\u306f\u3001\u4ee5\u4e0b\u304c\u5fc5\u8981\u3067\u3059: \u30dc\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u30dc\u30c3\u30c8\u3092 Web\/\u30e2\u30d0\u30a4\u30eb \u30c1\u30e3\u30cd\u30eb\u7528\u306b\u8a2d\u5b9a\u3057\u3066\u3001Kore.ai \u30dc\u30c3\u30c8 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u767b\u9332\u3057\u307e\u3059\u3002 BotKit SDK \u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u30c7\u30d7\u30ed\u30a4\u3057\u307e\u3059\u3002 config.json \u30d5\u30a1\u30a4\u30eb\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\u3002 \u627f\u8a8d BotKit SDK \u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u524d\u63d0\u3068\u3057\u3066\u3001Kore.ai \u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc \u30c4\u30fc\u30eb\u3092\u4f7f\u3063\u3066\u3001SDK \u30a2\u30d7\u30ea\u3092 Kore.ai \u30dc\u30c3\u30c8 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u306b\u767b\u9332\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30dc\u30c3\u30c8\u30d3\u30eb\u30c0\u30fc\u3067\u306f\u30dc\u30c3\u30c8\u3092\u4f5c\u6210\u3057\u3001[API \u62e1\u5f35] &gt; [BotKit SDK] \u30bb\u30af\u30b7\u30e7\u30f3\u3067\u305d\u306e\u30dc\u30c3\u30c8\u7528\u306e\u30a2\u30d7\u30ea\u3092\u767b\u9332\u307e\u305f\u306f\u4f5c\u6210\u3057\u3066\u3001\u30a2\u30d7\u30ea\u3068 \u30dc\u30c3\u30c8 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u9593\u306e\u901a\u4fe1\u306e\u305f\u3081\u306e\u76f8\u4e92 SSL \u8a8d\u8a3c\u3084\u3001SDK \u304b\u3089 Kore.ai \u30dc\u30c3\u30c8 \u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0\u3078\u306e API \u547c\u51fa\u3057\u306e\u8a8d\u8a3c\u306b\u4f7f\u7528\u3055\u308c\u308b ClientID \u3068 \u30af\u30e9\u30a4\u30a2\u30f3\u30c8...","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[79],"tags":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30316"}],"collection":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/comments?post=30316"}],"version-history":[{"count":1,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30316\/revisions"}],"predecessor-version":[{"id":30319,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/posts\/30316\/revisions\/30319"}],"wp:attachment":[{"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/media?parent=30316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/categories?post=30316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/multisite.korebots.com\/v9-0\/wp-json\/wp\/v2\/tags?post=30316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}