WEBVTT

00:00.240 --> 00:02.920
Well, if you're a PC person, then you've come to the right place.

00:02.920 --> 00:03.800
This is for you.

00:03.800 --> 00:06.120
If you're not a PC person, then get out.

00:06.120 --> 00:07.240
You're not welcome here.

00:07.680 --> 00:09.560
All right, with that out of the way.

00:10.040 --> 00:10.560
Hello.

00:10.920 --> 00:12.000
This is the video.

00:12.000 --> 00:17.680
When we actually get to set up your environment and there are going to be five steps to doing this.

00:17.680 --> 00:19.480
The sixth one will be somewhat optional.

00:19.480 --> 00:24.480
There will be a sixth step, but the five main steps we are going to do, and they are going to be covered

00:24.480 --> 00:26.400
in my repo very clearly.

00:26.400 --> 00:28.040
And let's start by going there.

00:28.080 --> 00:32.640
We're going to go to the repo that is linked in the course materials.

00:32.680 --> 00:33.760
It's at GitHub.

00:36.000 --> 00:36.640
And here it is.

00:36.640 --> 00:41.320
And when you go there you see the different directories, the different folder structure that we have.

00:41.440 --> 00:46.000
And if you scroll down you get what's known as the readme, the set of information that comes with the

00:46.000 --> 00:46.360
course.

00:46.360 --> 00:49.920
And I ask you, I plead with you to read the readme.

00:50.200 --> 00:51.720
I put a lot of care into the readme.

00:51.720 --> 00:57.960
It's got lots of great stuff in there, and so do take a look through it and it will set you up to be

00:57.960 --> 01:01.520
successful in addition to another link to my LinkedIn.

01:01.560 --> 01:03.760
I'm starting to sound a bit desperate about this.

01:03.880 --> 01:09.320
There's also lots of useful things, and most importantly, there's links to the setup instructions,

01:09.320 --> 01:13.040
the windows setup instructions, the Mac and the Linux ones.

01:13.160 --> 01:17.320
And I'm not going to take you through them right now because this will be a living, breathing document

01:17.320 --> 01:20.000
that I will keep it updated as people hit problems.

01:20.000 --> 01:24.560
But you should go through that and have that side by side, if anything, that's going to be better

01:24.560 --> 01:25.400
than this video.

01:25.440 --> 01:27.840
See this video as being bringing it to life.

01:27.840 --> 01:30.360
But the instructions will be bulletproof.

01:30.560 --> 01:36.160
So it's time for step one and just before starting step one, I do want to draw your attention to a

01:36.160 --> 01:39.120
section at the top of the setup PC guide.

01:39.240 --> 01:45.440
That's called gotchas, and it has a few of the common traps that can happen when setting things up

01:45.440 --> 01:46.280
for PCs.

01:46.480 --> 01:53.400
One of them is an insidious problem, with windows sometimes being set up to not allow names of files

01:53.400 --> 01:55.760
longer than 260 characters.

01:55.960 --> 02:01.840
And if that is set on your system, then you need to to unset it so you are allowed longer filenames.

02:01.840 --> 02:04.880
And that's something which there are instructions for how to do that.

02:05.200 --> 02:10.120
Another common trap is around antivirus software that can interfere with the installation.

02:10.120 --> 02:11.720
So there's some steps there as well.

02:11.720 --> 02:15.920
So please do look at those gotchas because they will set you on a good path.

02:16.120 --> 02:16.800
All right.

02:16.840 --> 02:21.040
Step one is about cloning the repo using git.

02:21.200 --> 02:28.160
And to get started, if you go to the start menu and you then type PowerShell, you should be able to

02:28.200 --> 02:29.600
open up a PowerShell.

02:29.600 --> 02:30.520
One of these things.

02:30.520 --> 02:32.240
Let me get rid of the other one that's running here.

02:32.720 --> 02:34.840
So here is a PowerShell.

02:35.200 --> 02:38.680
And this is like like for for running commands in the command line.

02:38.680 --> 02:45.600
If you're new to this, one of the guides in the guide folder in the repo contains within it.

02:45.920 --> 02:51.760
So in this guides folder there is a guide for using the command prompt that will put you in good shape.

02:51.760 --> 02:54.920
But I'm imagining at this point you are familiar.

02:54.920 --> 02:58.560
So you know that that there could be a projects directory.

02:58.560 --> 03:02.960
Most people have created a projects directory in which you should go into it.

03:03.000 --> 03:08.880
If you don't already have a projects directory, then you should create one with mkdir projects within

03:08.880 --> 03:09.960
your home directory.

03:09.960 --> 03:14.880
So you will then have, like I do, a projects directory within your home directory.

03:14.880 --> 03:21.080
And if I look at the contents of it, it has my LM engineering folder from my other course, and it

03:21.080 --> 03:22.280
has some test folder.

03:22.280 --> 03:26.120
And it is this folder that we're going to clone our new repo.

03:26.360 --> 03:30.880
First we need to check that we have git installed git for code management.

03:30.880 --> 03:34.200
And you can do that by typing git minus minus version.

03:34.520 --> 03:37.320
And we'll see that I do indeed have git installed.

03:37.480 --> 03:43.840
If you don't have git installed and that has an error message, then you can go to Git's website and

03:43.840 --> 03:49.280
there's a link in the setup instructions and go to downloads and to windows.

03:49.480 --> 03:53.200
And you can click here to download the latest version for windows.

03:53.200 --> 03:58.040
And the installation instructions should be crystal clear and make sure that you have that in there.

03:58.040 --> 04:00.360
You might need to open up a fresh PowerShell.

04:00.400 --> 04:04.240
Always worth knowing that you might need to do that and sometimes you need to restart your computer.

04:04.280 --> 04:06.480
Super annoying, but hopefully not.

04:06.520 --> 04:11.040
You should be able to type git minus minus version and see git in there.

04:11.400 --> 04:16.320
Okay, so the next thing to do is to actually clone the repo.

04:16.920 --> 04:17.320
Okay.

04:17.360 --> 04:19.720
So we go to the repo itself.

04:19.720 --> 04:20.560
Here we have it.

04:20.800 --> 04:29.200
And uh the first thing we do is we go to this green button on the top right of the repo, as I'm looking

04:29.200 --> 04:32.640
at it here in a browser, and you click this code button.

04:32.840 --> 04:38.160
You select Https and you'll see the web address of this repo.

04:38.280 --> 04:41.360
And you press the copy URL to the clipboard button.

04:41.360 --> 04:41.920
And there we go.

04:41.960 --> 04:43.080
I have copied it.

04:43.400 --> 04:47.000
And now you come here to the PowerShell.

04:47.200 --> 04:50.160
Now again I'm in my projects directory.

04:50.160 --> 04:54.280
So you're in the your home directory then your project subdirectory.

04:54.280 --> 04:57.560
If your C drive is quite full then you might want to do this on your D drive.

04:57.560 --> 04:59.840
Just make sure you're within a project's directory.

04:59.880 --> 05:01.120
A good place for it to be.

05:01.160 --> 05:10.160
And you simply type git clone and then the paste in there the web address of the GitHub repo.

05:10.480 --> 05:16.120
And when we press enter that runs it does its thing and it's done.

05:16.280 --> 05:20.200
And if I look at that directory you'll now see that agents is there.

05:20.360 --> 05:24.320
I can now go into that directory agents and look at it.

05:24.320 --> 05:27.840
And here are all of the directories within the repo.

05:28.120 --> 05:32.880
And this folder that we're in right now which is projects agents.

05:33.040 --> 05:36.960
This is what sometimes known as the project root directory.

05:36.960 --> 05:38.400
It's what people call this.

05:38.440 --> 05:40.280
And it's a very common place to go.

05:40.520 --> 05:41.960
And this is where we are.

05:42.200 --> 05:47.040
And that means that we have completed step one of the five step process.

05:47.520 --> 05:48.120
Okay.

05:48.160 --> 05:57.760
So we go right away to cursor to look at the cursor IDE, a fabulous platform, and download it and

05:57.760 --> 06:02.400
install it if you don't already have it, and you can just press the download for windows button.

06:02.920 --> 06:08.160
It will download the executable and you can then run it and you'll get this setup screen.

06:08.200 --> 06:09.640
A familiar kind of setup.

06:09.840 --> 06:15.520
Accept the agreement, choose where you want it to install it, and I choose the C drive, but you could

06:15.520 --> 06:18.080
put it on the D drive if you're running out of space.

06:18.400 --> 06:27.920
And then next and then we will create a desktop icon and add it to Windows Explorer.

06:28.560 --> 06:34.160
And note that it will make changes to path, which means that we will need to bring up a new command

06:34.160 --> 06:35.800
prompt for this to take effect.

06:36.040 --> 06:37.560
And then we will install that.

06:38.160 --> 06:45.000
So it will now install cursor on my PC so that we can use this platform.

06:45.880 --> 06:49.160
And I will jump forwards and see you in a second.

06:50.000 --> 06:51.440
And cursor has now installed.

06:51.440 --> 06:52.760
And so I can press finish.

06:52.960 --> 06:57.400
And it should now be installed and launching on my PC.

06:58.080 --> 06:58.840
There we go.

06:59.680 --> 07:00.680
It's right here.

07:00.680 --> 07:01.080
The, uh.

07:01.200 --> 07:02.120
Oh, no, it is starting.

07:02.120 --> 07:02.840
It is starting.

07:03.360 --> 07:04.080
Here it comes.

07:04.080 --> 07:05.320
It just took a moment.

07:05.600 --> 07:08.880
And we can just keep with all of these basics.

07:09.160 --> 07:17.200
And I'm going to select to use the word cursor if I want to run it from the command line and say yes

07:17.680 --> 07:18.120
okay.

07:18.640 --> 07:19.800
And then continue.

07:20.640 --> 07:25.760
And I'm going to have it in privacy mode, I'm not going to, to uh, be logging what I do.

07:26.200 --> 07:27.640
And you are all set.

07:28.080 --> 07:34.400
So now you can sign up for a cursor account, which is free, and you just press that sign up button

07:34.400 --> 07:36.160
and follow the process.

07:36.480 --> 07:43.080
And uh, then, uh, once you're finished with that, I will see you back here in a second to actually

07:43.080 --> 07:43.920
use cursor.

07:44.520 --> 07:46.520
And so here we are in cursor.

07:46.520 --> 07:49.840
It started I've signed in, I've actually got a pro trial.

07:50.080 --> 07:53.160
And we're looking at the first screen we've got here.

07:53.160 --> 07:55.160
And I can press Open Project.

07:55.440 --> 08:00.880
And what I can now do is navigate I'm going to I'm going to actually go this PC and then to my C drive

08:01.480 --> 08:07.600
and then to users and add and then projects, which is where my projects are.

08:08.040 --> 08:10.400
And here is agents.

08:10.560 --> 08:14.680
And this you'll recognize as the directories that we cloned from our repo.

08:14.960 --> 08:20.760
And what I can do now is just press this select folder button which is saying I want this agents folder

08:20.760 --> 08:24.200
to be my project root folder.

08:24.200 --> 08:25.440
And it opens up.

08:25.440 --> 08:28.400
This is your first look inside cursor.

08:28.400 --> 08:31.000
We've got our directories down here.

08:31.000 --> 08:35.200
You've got like a welcome screen up here I'm going to X out the welcome screen.

08:35.200 --> 08:41.120
And now here we have something called the explorer on the left which has all of our directories.

08:41.120 --> 08:45.480
We've got a chat ability to chat with an LM on the right.

08:45.520 --> 08:47.400
I'm also just going to close that down.

08:47.440 --> 08:50.840
And what we're looking at here is the code.

08:50.880 --> 08:57.440
And in fact I can this navigator on the left is showing you a different directory for each of the six

08:57.560 --> 09:01.240
weeks of the course from foundations through to MCP.

09:01.440 --> 09:07.400
And if we open this swizzle here, you'll see all of the contents of the first week foundations where

09:07.400 --> 09:08.800
we are right now.

09:09.160 --> 09:09.520
Okay.

09:09.520 --> 09:12.200
We're racing ahead to part three of the setup.

09:12.240 --> 09:18.600
Part three of course is time for UV, which I'm so excited to to show you.

09:18.880 --> 09:23.960
So we start by just looking for, uh, UV package manager.

09:24.200 --> 09:28.600
You will, uh, find it's also linked in the setup instructions.

09:28.640 --> 09:31.080
Astral is the name of the company that makes UV.

09:31.320 --> 09:32.360
Here it is.

09:32.560 --> 09:36.920
And it is an extremely fast package manager as it tells you.

09:37.360 --> 09:43.280
So to install for windows, you simply run this in a PowerShell.

09:43.480 --> 09:48.760
And so I've pressed on windows I'm now going to press this copy button to copy that in.

09:48.800 --> 09:54.920
And I'm now going to go to a PowerShell which we will do right here PowerShell.

09:55.280 --> 09:58.840
And I'm going to run that command.

09:59.240 --> 10:00.800
So here we go.

10:01.160 --> 10:02.080
We'll let it do its thing.

10:02.120 --> 10:04.360
It's now installing UV.

10:05.120 --> 10:08.160
And that appears to have already happened.

10:08.480 --> 10:14.840
And it's telling you you can either restart your shell to to take this into the path or you can run

10:14.840 --> 10:15.560
those commands.

10:15.600 --> 10:17.120
We're going to restart our shell.

10:17.160 --> 10:19.440
If we type exit to get rid of that shell.

10:19.440 --> 10:24.040
And we start a new shell and you must remember to do this, otherwise it won't work.

10:24.280 --> 10:26.120
So PowerShell again.

10:26.560 --> 10:30.040
And now we should we should have access to UV.

10:30.320 --> 10:33.000
And so we can type UV minus minus version.

10:33.680 --> 10:36.920
And there we have UV installed on the machine.

10:37.520 --> 10:39.840
Now I'm going to show you this next part within cursor.

10:39.840 --> 10:44.800
Here is cursor I actually quit cursor and reopened it again for the same reason that we did that with

10:44.800 --> 10:50.400
a PowerShell to to reset the path variables and within cursor, I'm going to go to the view menu and

10:50.400 --> 10:51.560
choose terminal.

10:51.560 --> 10:58.310
It's also control and the Backtick to bring up a new PowerShell within then cursor, which is a useful

10:58.310 --> 10:58.710
thing to do.

10:58.710 --> 11:02.630
And that's how we'll do it, mostly on this course and within here.

11:02.630 --> 11:08.230
If I do a dir you'll see, or an LHS, you'll see that the contents of that directory, I'm now just

11:08.230 --> 11:15.030
simply going to do the command UV sync, which is my way of telling UV that I want to build an environment

11:15.030 --> 11:18.190
consistent with what I have in this directory.

11:18.390 --> 11:19.670
And I do that.

11:19.670 --> 11:26.190
And what we're seeing now is it's building the environment, and it's actually beginning by installing

11:26.270 --> 11:33.430
Python, a dedicated version of Python 3.1, which is the version for this project, and it's now installing

11:33.430 --> 11:34.350
the packages.

11:34.510 --> 11:40.630
Now, people who are familiar with Anaconda know that this process of building a full specked, isolated

11:40.630 --> 11:45.790
environment with the right version of Python is something that can take up to an hour, and sometimes

11:45.830 --> 11:51.630
on some systems, it was taking an hour and a half to build this environment on their computers.

11:51.910 --> 11:53.710
What you'll find is that it's a different story.

11:53.710 --> 11:59.590
With UV, it's running remarkably quickly, and I'm hoping it's going to finish by the time I finish

11:59.590 --> 12:00.590
this sentence.

12:00.590 --> 12:06.510
But if not, then I may put you on pause and come right back again, because it literally takes a minute

12:06.510 --> 12:07.790
or two and it will be done.

12:07.790 --> 12:09.110
So I'll see you in a minute.

12:09.390 --> 12:13.390
Okay, so it did take about another three minutes, but I didn't lie.

12:13.430 --> 12:13.950
It's quick.

12:13.950 --> 12:15.950
It's very quick and it's very impressive.

12:15.950 --> 12:18.110
And the big news is that that's it.

12:18.110 --> 12:24.030
There isn't any more of the kind of configuration management part those packages have been installed.

12:24.110 --> 12:29.470
If I look in this directory, you'll see that there is in fact going to be a new folder.

12:29.990 --> 12:30.590
Venv.

12:30.630 --> 12:35.110
It's created a virtual environment for people that know about Python virtual environments.

12:35.470 --> 12:40.190
It's built one and that now exists in this folder, and that's all there is to it.

12:40.310 --> 12:45.390
And going forwards, if we want to run a Python script, whereas you might normally type like Python

12:45.390 --> 12:50.990
and then the name of a Python script you now would type, you've run and then the name of the script

12:50.990 --> 12:53.910
and it will automatically run it in that environment.

12:53.910 --> 12:55.630
And everything else is the same.

12:55.630 --> 12:55.750
The.

12:55.790 --> 12:57.310
The environment is built.

12:57.310 --> 12:58.670
It's as simple as that.

12:58.710 --> 13:02.710
We're pretty much good to go and we're now in the end game.

13:02.710 --> 13:06.870
We're at step four of the instructions and it's smooth sailing from here.

13:06.950 --> 13:11.470
The next step is to set up a key with OpenAI so that you can use OpenAI directly.

13:11.470 --> 13:17.230
If you already have a key, you can just skip this step if you don't want to be spending money on OpenAI.

13:17.390 --> 13:18.470
There are alternatives.

13:18.510 --> 13:25.230
As I say, you will find them in the setup instructions and the readme and in the linked in the guides.

13:25.230 --> 13:27.110
So please do follow those instructions.

13:27.110 --> 13:33.110
But I do assume that most people are okay to spend a few dollars and is quite cheap on using OpenAI,

13:33.150 --> 13:37.790
because the power of these frontier models is going to allow us to do great things.

13:37.830 --> 13:45.430
And of course, you can use Deep Seek or Google's Gemini or Grok as a straight replacement for any of

13:45.430 --> 13:45.950
these.

13:46.190 --> 13:49.310
Okay, so I go to a browser and I go to platform.

13:51.470 --> 13:55.470
Which is where you get into the sort of API side of OpenAI.

13:55.710 --> 13:58.150
And the first thing that you may need to do is sign up.

13:58.150 --> 14:02.150
I have already got an account so I can just log in, but you may need to come in and sign up.

14:02.150 --> 14:05.910
If I log in, I can come in with my Google credentials.

14:06.270 --> 14:10.790
And here I am logged in as me to the OpenAI developer platform.

14:11.230 --> 14:13.430
Now, there are now two things that you need to do.

14:13.470 --> 14:16.990
One of them is about setting up billing, and one of them is getting an API key.

14:16.990 --> 14:18.230
And we'll do them both now.

14:18.510 --> 14:18.790
Okay.

14:18.830 --> 14:22.590
And so in order to set up your billing, you go to the settings menu up here.

14:22.830 --> 14:25.870
And then you go down to billing right here.

14:26.190 --> 14:30.950
And this is where you choose to put in a credit balance.

14:30.950 --> 14:32.630
You can see I've got quite a large credit balance.

14:32.630 --> 14:37.590
I seem to spend quite a lot of money on different projects with OpenAI, but this course will only cost

14:37.630 --> 14:39.070
you a few dollars.

14:39.070 --> 14:45.030
But the way that it works is that you do need to put in an amount up front, and $5 as of today is their

14:45.030 --> 14:45.750
minimum.

14:45.750 --> 14:48.630
So you'll need to put in that $5 and then you spend against it.

14:48.630 --> 14:53.030
For people internationally, I know that sometimes OpenAI can be a bore about charging because they

14:53.030 --> 14:58.230
charge in dollars and some credit cards don't accept an international charge like that.

14:58.230 --> 15:01.310
So there is some some nonsense to get around with that.

15:01.310 --> 15:04.110
And as I say, there's alternatives like deep seek if you want it.

15:04.150 --> 15:08.790
Some students use grok with a Q, which there's also a great option.

15:09.190 --> 15:13.470
And you can also use something called open router that's quite popular, particularly with international

15:13.750 --> 15:18.470
people, students, because you can set up an open router account and it will route through to the different

15:18.470 --> 15:19.030
models.

15:19.030 --> 15:21.030
So these are all different approaches for you.

15:21.030 --> 15:22.910
And they work almost exactly the same way.

15:22.950 --> 15:28.510
There'll be some sort of billing page like this where you get to choose to top up and you press add

15:28.510 --> 15:33.350
to credit balance to top up with a credit card, and you put in the minimum $5.

15:33.350 --> 15:35.830
We won't need any more than that for sure.

15:36.470 --> 15:36.910
Okay.

15:36.950 --> 15:42.190
And so once you've done that, you then have to go to the API keys section.

15:42.190 --> 15:44.030
And this is super important.

15:44.030 --> 15:46.590
And this is where you get to set keys.

15:46.830 --> 15:52.910
That will be the how you will access this API from your computer.

15:52.910 --> 15:56.550
And the way that you'll do that is you'll press create new secret key.

15:56.870 --> 15:58.950
You'll put in the any name you want.

15:58.950 --> 16:00.390
You can call it just to remember it.

16:00.390 --> 16:01.070
In the future.

16:01.470 --> 16:03.750
Make sure that you select project.

16:03.750 --> 16:05.870
You have default project so it's for everything.

16:05.910 --> 16:10.310
Have all permissions and then press Create Secret Key and you will get a new key.

16:10.310 --> 16:12.470
And you can copy it into your clipboard.

16:12.470 --> 16:14.510
And you have to do that to make sure that you preserve it.

16:14.510 --> 16:16.710
Because we're about to make use of that API key.

16:16.870 --> 16:19.830
Now here's a pro tip to be really careful about.

16:20.070 --> 16:25.310
When you copy that key into the clipboard, you might be tempted to paste it into another application

16:25.310 --> 16:28.910
like a notepad that you will then copy and paste it somewhere else.

16:28.910 --> 16:30.870
But there's a there's a trap there.

16:31.070 --> 16:35.830
Sometimes these kinds of word processors, when you paste in the key, they'll they'll mess around with

16:35.830 --> 16:36.430
it in some way.

16:36.430 --> 16:41.470
They'll replace hyphens with long hyphens because they look better in text, and they may replace some

16:41.470 --> 16:45.190
characters with international characters that are right for your locale.

16:45.350 --> 16:49.590
And if they do that, your key won't work, and it's going to take you ages to figure out what's happened.

16:49.590 --> 16:50.550
So be careful of that.

16:50.550 --> 16:51.110
Don't do that.

16:51.110 --> 16:56.390
I suggest copying it to the clipboard and then immediately doing the next step we're going to do, which

16:56.390 --> 16:58.550
is actually using it in our project.

16:58.550 --> 17:03.470
So keep that trap in mind if you do want to paste it somewhere to keep it for your records, then be

17:03.470 --> 17:08.670
careful to paste it into a kind of tool that's not going to mess around with the API key.

17:09.110 --> 17:10.510
All right, I hope that makes sense.

17:10.510 --> 17:12.710
I hope you've now created your API key.

17:12.710 --> 17:16.990
If you don't have one already and you've got it and you've got it nice and safe, and you've recorded

17:16.990 --> 17:21.270
it somewhere where it's not messing with the characters, and we're ready to put this to good use.

17:22.110 --> 17:22.870
And this is it.

17:22.910 --> 17:25.510
We've reached the final step, the final step of setting up.

17:25.510 --> 17:27.870
Thank goodness we're back in cursor.

17:27.870 --> 17:30.830
And I've actually I pressed X on the PowerShell that was here.

17:30.830 --> 17:34.110
So we've got a nice clean screen here on the left.

17:34.110 --> 17:39.550
This is the explorer I've collapsed all of these so that you just see the top level explorer.

17:39.790 --> 17:44.990
And what I'm now going to do is right click here and say new file.

17:44.990 --> 17:48.070
And I've now got a new file I'm creating at the top level.

17:48.110 --> 17:49.750
Make sure that it's at that top level.

17:49.750 --> 17:51.990
And I'm going to call it something very specific.

17:51.990 --> 17:55.030
And you have to call this file exactly the same thing.

17:55.070 --> 17:58.430
And that thing begins with a dot, a period.

17:58.750 --> 18:01.790
A full stop, as we say in England.

18:01.790 --> 18:04.910
And then the letters E and N and V.

18:05.070 --> 18:10.110
So it's called dot EMV, and it has to be called exactly that for a very particular reason that we'll

18:10.110 --> 18:10.830
get to later.

18:10.950 --> 18:15.990
But as long as you've called it Dot and nothing else, then you're in great shape.

18:16.190 --> 18:18.310
So that is the name of this file.

18:18.670 --> 18:25.510
A dot EMV file is a common way that people put in environment variables that they want to set just for

18:25.510 --> 18:30.070
the purpose of this project, and they will be environment variables that will contain what we sometimes

18:30.070 --> 18:33.550
call secrets or things that we don't want to to be public.

18:33.550 --> 18:35.750
We don't want it to be checked into source code.

18:35.750 --> 18:41.390
We want it to be something that is just for us, kept private, that we will use, and we can just put

18:41.390 --> 18:47.350
things in this file of the form of like a key name equals and a value, and that will become an environment

18:47.350 --> 18:48.790
variable, as you will see.

18:49.110 --> 18:52.470
And in particular, there's one key that we really care about.

18:52.550 --> 18:54.510
And you have to do this exactly right.

18:54.510 --> 18:59.150
If you make a typo in this, then it's not going to work and it's going to be really frustrating.

18:59.150 --> 19:01.870
So try to be really careful with this.

19:01.870 --> 19:09.110
I'm going to type open and you can see that already the cursor is already it knows what I want to do.

19:09.150 --> 19:10.510
See how it's filling it in for me.

19:10.510 --> 19:13.790
I could just press Tab to do what it wants, but I'm not going to press tab.

19:13.990 --> 19:17.750
You will see because it's got a dummy key in there, not the key that we want.

19:18.030 --> 19:23.670
Open AI underscore API underscore key equals.

19:24.590 --> 19:29.630
And you can see it's prompting me there ESC dash dash and a number.

19:29.950 --> 19:34.310
Now what I want to put in here is something that will indeed start ESC Pro.

19:34.710 --> 19:35.550
And it will have a number.

19:35.550 --> 19:36.710
But it's going to be a long number.

19:36.710 --> 19:41.550
And it's going to be the thing that I just copied into my clipboard from the previous screen from open

19:41.550 --> 19:41.830
AI.

19:42.150 --> 19:46.230
You need to now paste that key right here and it's got to look just right.

19:46.230 --> 19:51.670
It's got to start ESC and then be followed by that that long long number and letters.

19:51.670 --> 19:54.470
And it's got to have those hyphens in them just as they are.

19:54.670 --> 19:58.670
And this is of the people that struggle with environment setup.

19:58.790 --> 20:01.790
Most of the problems end up just being this one tiny step.

20:01.790 --> 20:02.830
So please get it right.

20:03.110 --> 20:07.630
Uh, so hopefully you've done that and you've put that in there and it's got a key in there.

20:07.670 --> 20:12.830
Now, if you're using other platforms like Deep Seek, then this is exactly what you will do.

20:12.830 --> 20:15.910
The same thing you'll just put in here deep seek and it will.

20:15.950 --> 20:16.350
There we go.

20:16.390 --> 20:17.390
It fills it in for me.

20:17.430 --> 20:19.670
Deep seek API key equals.

20:19.990 --> 20:21.230
And you might have something else.

20:21.230 --> 20:26.270
You might be using grok the inference platform or open router or any of the others.

20:26.270 --> 20:32.110
Any keys that you've got, you simply put them in here like that and we will use them later.

20:32.110 --> 20:38.230
So with any luck, you've put in OpenAI API key equals and it's got your real key in there, which means

20:38.230 --> 20:39.910
that the setup is complete.

20:39.910 --> 20:41.590
Many congratulations.

20:41.590 --> 20:46.390
That's the painful part over as long as it all works and we'll find out, please skip the next video,

20:46.390 --> 20:51.630
which is going to be for the Mac people, the next lecture, and then we will reconvene after that.

20:52.030 --> 20:53.950
And I'm so excited to get started.
