Skip to content

Commit

Permalink
Update notebooks cloud signup url with onboarding_token (elastic#302)
Browse files Browse the repository at this point in the history
* update notebooks deeplink token in signup url

* update readme signup url with deeplink token

* update esql notebook
  • Loading branch information
saarikabhasi authored Jul 29, 2024
1 parent a6c86e2 commit 8094c6b
Show file tree
Hide file tree
Showing 35 changed files with 389 additions and 341 deletions.
2 changes: 1 addition & 1 deletion example-apps/openai-embeddings/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ tar -xz --strip=2 elasticsearch-labs-main/example-apps/openai-embeddings

### 3. Create Elastic Cloud account and credentials

- [Sign up](https://cloud.elastic.co/registration?utm_source=github&utm_content=elasticsearch-labs-samples) for a Elastic cloud account
- [Sign up](https://cloud.elastic.co/registration?onboarding_token=vectorsearch&utm_source=github&utm_content=elasticsearch-labs-samples) for a Elastic cloud account
- Make note of the master username/password shown to you during creation of the deployment
- Make note of the Elastic Cloud ID after the deployment

Expand Down
2 changes: 1 addition & 1 deletion example-apps/relevance-workbench/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ To run this demo successfully, you will need an Elasticsearch deployment (> 8.11

## Deploy Elasticsearch in Elastic Cloud

If you don't have an Elastic Cloud account, you can start by signing up for a [free Elastic Cloud trial](https://cloud.elastic.co/registration?utm_source=github&utm_content=elasticsearch-labs-samples). After creating an account, you’ll have an active subscription, and you’ll be prompted to create your first deployment.
If you don't have an Elastic Cloud account, you can start by signing up for a [free Elastic Cloud trial](https://cloud.elastic.co/registration?onboarding_token=vectorsearch&utm_source=github&utm_content=elasticsearch-labs-samples). After creating an account, you’ll have an active subscription, and you’ll be prompted to create your first deployment.

Follow the steps to Create a new deployment. For more details, refer to [Create a deployment](https://www.elastic.co/guide/en/cloud/current/ec-create-deployment.html) in the Elastic Cloud documentation.

Expand Down
11 changes: 8 additions & 3 deletions notebooks/document-chunking/with-index-pipelines.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"source": [
"## Create Elastic Cloud deployment\n",
"\n",
"If you don't have an Elastic Cloud deployment, sign up [here](https://cloud.elastic.co/registration?utm_source=github&utm_content=elasticsearch-labs-notebook) for a free trial.\n",
"If you don't have an Elastic Cloud deployment, sign up [here](https://cloud.elastic.co/registration?onboarding_token=vectorsearch&utm_source=github&utm_content=elasticsearch-labs-notebook) for a free trial.\n",
"\n",
"Once logged in to your Elastic Cloud account, go to the [Create deployment](https://cloud.elastic.co/deployments/create) page and select **Create deployment**. Leave all settings with their default values."
]
Expand Down Expand Up @@ -522,7 +522,7 @@
"provenance": []
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.12.3 64-bit",
"language": "python",
"name": "python3"
},
Expand All @@ -536,7 +536,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.12.3"
},
"vscode": {
"interpreter": {
"hash": "b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e"
}
}
},
"nbformat": 4,
Expand Down
11 changes: 8 additions & 3 deletions notebooks/document-chunking/with-langchain-splitters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"source": [
"### Connect to Elasticsearch\n",
"\n",
"ℹ️ We're using an Elastic Cloud deployment of Elasticsearch for this notebook. If you don't have an Elastic Cloud deployment, sign up [here](https://cloud.elastic.co/registration?utm_source=github&utm_content=elasticsearch-labs-notebook) for a free trial. \n",
"ℹ️ We're using an Elastic Cloud deployment of Elasticsearch for this notebook. If you don't have an Elastic Cloud deployment, sign up [here](https://cloud.elastic.co/registration?onboarding_token=vectorsearch&utm_source=github&utm_content=elasticsearch-labs-notebook) for a free trial. \n",
"\n",
"We'll use the **Cloud ID** to identify our deployment, because we are using Elastic Cloud deployment. To find the Cloud ID for your deployment, go to https://cloud.elastic.co/deployments and select your deployment."
]
Expand Down Expand Up @@ -604,7 +604,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3.12.3 64-bit",
"language": "python",
"name": "python3"
},
Expand All @@ -618,7 +618,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.6"
"version": "3.12.3"
},
"vscode": {
"interpreter": {
"hash": "b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e"
}
}
},
"nbformat": 4,
Expand Down
12 changes: 9 additions & 3 deletions notebooks/enterprise-search/app-search-engine-exporter.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
"source": [
"## Connect to Elasticsearch\n",
"\n",
"ℹ️ We're using an Elastic Cloud deployment of Elasticsearch for this notebook. If you don't have an Elastic Cloud deployment, sign up [here](https://cloud.elastic.co/registration?utm_source=github&utm_content=elasticsearch-labs-notebook) for a free trial. \n",
"ℹ️ We're using an Elastic Cloud deployment of Elasticsearch for this notebook. If you don't have an Elastic Cloud deployment, sign up [here](https://cloud.elastic.co/registration?onboarding_token=search&utm_source=github&utm_content=elasticsearch-labs-notebook) for a free trial. \n",
"\n",
"We'll use the **Cloud ID** to identify our deployment, because we are using Elastic Cloud deployment. To find the Cloud ID for your deployment, go to https://cloud.elastic.co/deployments and select your deployment. \n",
"\n",
Expand Down Expand Up @@ -823,7 +823,8 @@
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3.12.3 64-bit",
"language": "python",
"name": "python3"
},
"language_info": {
Expand All @@ -836,7 +837,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.12.2"
"version": "3.12.3"
},
"vscode": {
"interpreter": {
"hash": "b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e"
}
}
},
"nbformat": 4,
Expand Down
60 changes: 33 additions & 27 deletions notebooks/esql/esql-getting-started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"source": [
"## Create Elastic Cloud deployment\n",
"\n",
"If you don't have an Elastic Cloud deployment, sign up [here](https://cloud.elastic.co/registration?utm_source=github&utm_content=elasticsearch-labs-notebook) for a free trial.\n",
"If you don't have an Elastic Cloud deployment, sign up [here](https://cloud.elastic.co/registration?onboarding_token=search&utm_source=github&utm_content=elasticsearch-labs-notebook) for a free trial.\n",
"\n",
"Once logged in to your Elastic Cloud account, go to the [Create deployment](https://cloud.elastic.co/deployments/create) page and select **Create deployment**. Leave all settings with their default values."
]
Expand Down Expand Up @@ -75,8 +75,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"Collecting elasticsearch\n",
" Downloading elasticsearch-8.14.0-py3-none-any.whl (480 kB)\n",
Expand Down Expand Up @@ -214,8 +214,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"Successfully indexed 7 documents.\n"
]
Expand Down Expand Up @@ -356,8 +356,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message \n",
"--------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -414,8 +414,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message \n",
"--------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -458,8 +458,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message \n",
"--------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -506,8 +506,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message \n",
"--------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -549,8 +549,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message \n",
"--------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -609,8 +609,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message \n",
"-------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -663,8 +663,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message | duration_ms\n",
"----------------------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -709,8 +709,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message | duration_ms\n",
"----------------------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -759,8 +759,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"median_duration\n",
"---------------\n",
Expand Down Expand Up @@ -799,8 +799,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"median_duration | max_duration\n",
"------------------------------\n",
Expand Down Expand Up @@ -839,8 +839,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"median_duration | client_ip \n",
"------------------------------\n",
Expand Down Expand Up @@ -886,8 +886,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message | event_duration/1000000.0\n",
"-----------------------------------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -932,8 +932,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"MEDIAN(`event_duration/1000000.0`)\n",
"----------------------------------\n",
Expand Down Expand Up @@ -978,8 +978,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"COUNT(*) | bucket \n",
"-----------------------------------\n",
Expand Down Expand Up @@ -1019,8 +1019,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"median_duration | bucket \n",
"------------------------------------------\n",
Expand Down Expand Up @@ -1068,14 +1068,14 @@
},
"outputs": [
{
"output_type": "execute_result",
"data": {
"text/plain": [
"ObjectApiResponse({'status': {'phase': 'COMPLETE'}})"
]
},
"execution_count": 45,
"metadata": {},
"execution_count": 45
"output_type": "execute_result"
}
],
"source": [
Expand Down Expand Up @@ -1143,8 +1143,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | event_duration | client_ip | env \n",
"----------------------------------------------------------------------\n",
Expand Down Expand Up @@ -1190,8 +1190,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"median_duration | env \n",
"-----------------------------\n",
Expand Down Expand Up @@ -1255,8 +1255,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"@timestamp | client_ip | event_duration | message | server_ip\n",
"--------------------------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -1302,8 +1302,8 @@
},
"outputs": [
{
"output_type": "stream",
"name": "stdout",
"output_type": "stream",
"text": [
"COUNT(*) | server_ip\n",
"--------------------\n",
Expand Down Expand Up @@ -1352,14 +1352,20 @@
"provenance": []
},
"kernelspec": {
"display_name": "Python 3",
"display_name": "Python 3.12.3 64-bit",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python",
"version": "3.11.5"
"version": "3.12.3"
},
"vscode": {
"interpreter": {
"hash": "b0fa6594d8f4cbf19f97940f81e996739fb7646882a419484c72d19e05852a7e"
}
}
},
"nbformat": 4,
"nbformat_minor": 0
}
}
Loading

0 comments on commit 8094c6b

Please sign in to comment.