diff --git a/Samples/textAnalytics.js b/Samples/textAnalytics.js
index 8d1adcd..099905e 100644
--- a/Samples/textAnalytics.js
+++ b/Samples/textAnalytics.js
@@ -12,25 +12,12 @@ const TextAnalyticsAPIClient = require("@azure/cognitiveservices-textanalytics")
//
//
-const key_var = 'TEXT_ANALYTICS_SUBSCRIPTION_KEY';
-if (!process.env[key_var]) {
- throw new Error('please set/export the following environment variable: ' + key_var);
-}
-const subscription_key = process.env[key_var];
-
-const endpoint_var = 'TEXT_ANALYTICS_ENDPOINT';
-if (!process.env[endpoint_var]) {
- throw new Error('please set/export the following environment variable: ' + endpoint_var);
-}
-const endpoint = process.env[endpoint_var];
+const key = ''
+const endpoint = ``;
//
-///////////////////////////////////////////
-// Entrypoint for sample script //
-///////////////////////////////////////////
-
//
-const creds = new CognitiveServicesCredentials.ApiKeyCredentials({ inHeader: { 'Ocp-Apim-Subscription-Key': subscription_key } });
+const creds = new CognitiveServicesCredentials.ApiKeyCredentials({ inHeader: { 'Ocp-Apim-Subscription-Key': key } });
const textAnalyticsClient = new TextAnalyticsAPIClient.TextAnalyticsClient(creds, endpoint);
//