Hi. In this video, we are going to show you how to install the tools required for running and scaling your computer. This video it will be producing Windows. Currently I'm using Windows 8, but all the steps of this tutorial will be the same for any Windows version. If you have a different operating system [INAUDIBLE]. Anyway, spot of the class website. Everything that is shown on this video, there's also a plain text on the tools setup page of the class website. Mainly, we need to install three things. The first one is the JDK. The Java Development Kit which is a runtime environment on which the Scala programs are executed. This time, the assignments that you will submit will be graded whichever. So we recommend to use this version instead of Java 7 and 6. The second one is. The main build tool for Scala, which will be used for building your programs and submitting your assignment to Coursera. Last but not least, we need an ID. That will help us to code in a scala. In this case, we're going to show you how to install Intelij IDEA. There are other options though. You have Eclipse and Well, let's get started by installing your data gate. Here there are three subsections for each operating system. As you are in Windows, lets go to the section. Window usually doesn't come with a preinstalled. So if you haven't installed it you need to. To install it, you just have to follow this link, accept the license agreement. Choose your architecture and download the executable. This installer will guide through all the process to install the JDK successfully in your system. As we have already done so just speed up the process we're going to skip this step. So we come back to our tutorial and we're going to install sbt. This course requires sbt version 0.13 To install 0.13 you just have to follow the instructions in the official website. We select Windows, And install with the misi installer. This is the same as in the GTK installer. So just have to follow the steps. We have already installed this sbt as well. So now we need to come back, and we need to check that we have the right sbt and Java versions. So we press Home, and type Java about. In this window, we see that we have the right version, because it's the eight. If you have installed the seven or six, please install the Java eight. Now, lets check sbt, you know to check sbt when we each have the common prompts We follow the same step as before, press home and type command prompt, or CMD. And now, we execute as we key and with the commands and a box. So as we have 0 13, We are sure that we have the right version. So know, we need to install Intellij IDEA. We go to the tutorial and we need to follow these steps here. The first one is to download Intellij. In order to download Intellij, you need to go to the official website. Check that you have the Windows version, and then Download. In this case we're going to also escape this process because we have already installed into IntelliJ IDEA. Now we need to install this [INAUDIBLE] plugin. This plugin, [INAUDIBLE] so that IntelliJ, recognizes both SVT and the [INAUDIBLE] files. Otherwise, it wouldn't be able to compile them. So let's open IntelliJ [INAUDIBLE] To install the plugins, we go to Configure and then Plugins This is a list of all the installed plugins in our system. To install a new one, we press install plugin and look for Scale. Usually, there is a green button here that will tell you to install the plugin. We have already installed the plugin so we don't need to, but you will also need to restart the plugin once you install it. So we close, and we're going to create our first project. We make sure that we select the and. We name our project. And now we need to select the TPK that we're going to use. As there is no TPK selected by default, we need to select the right one. So, we go to Program Files > Java And jdk 1.8, and we also make sure that we have the right version O.13.8 and 2.11.8. Now IntelliJ is executing and creating our SPT project. This is usually going to take some time. So now, we only need to wait. As you see, as with these right now getting there. To itself This is a process that usually happens on the first time we use SPT. So now, IntelliJ is indexing all the [INAUDIBLE]. As a grey and we need to wait until this is finished to compile, but we can like, we can just [SOUND] create our right now. So we're going to play around with this kind of washing. This is a feature that gives you a very interactive console to work with this color. In order to create this Scalar Worksheet you have to right click on the scala package select new and Scalar Worksheet. Read the name and say HelloWork. And anything we type in here it's going to be compiled by Intellij. And it's going to, well, we're going to see the output on the right side part of [INAUDIBLE]. So, as you see, there's a hash automatically second at this. We see how the ripple of this color has interpreted this. Cool. So we see that the bar name is res zero and the type is a string, which is right. So now, let's do something slightly more complicated. Let's create our first main scala program. So, we're going to create this program is to having inside the packet example, and our class is going to be called Example. And now, we need to select your object Because it's a singleton object. So to allow IntelliJ and Scala, to combine these as your main program You need to extend application. And anything we put in here, the body, it's going to be the main method of our program. So we're going to print a line hello out. To run this program, you see there is a small icon here. So, you click on it and you run the example. But you can also run the bad example as well or run with coverage, so let's run it. Allow access, and allow access. And yeah, we see the output here, so now let's come back to the tutorial. And we're on step seven. We're going to an sbt project in this case we're going to open an sbt project that we have just created so we close the project. And we click on import project and we select our user and at the [INAUDIBLE] projects, and our project, and build file. We just make sure that we are using [INAUDIBLE], and press Ok. These are the folders that has recognized in our project so. Now we're going to modify this DB file. In this case, we want to add a new dependency. This new dependency is going to be We come back to it as well and. Copy paste this. As you see, we have a pop-up window here. This pop-up window means, asking us if we want to enable port. This feature, allows to run, its SVT every time, and the [INAUDIBLE] file, or any SVT file is changed. As we want this feature, we will [INAUDIBLE] enable it. Now we copy paste here. And, we save the file. SPD is now fetching our new dependency and adding it to the project. Yeah, close this window. And yeah. We're ready to go. So now, if you want to execute any SVT commands and you don't want to leave window, What you can do is you can press alt F 12. So here we have a new terminal and this terminal is inside the HelloWorld project. So now, we can type as T. And if we're going to, we'll have to as we take them online. Here we can execute the next command. In this case, we're going to run the program from SBT. And this is the first time we do this and for the basic collaboration 2.11.8, it needs to compile the interface, and yeah. It works. So that's it, this is the end of the tutorial and now you're ready to use Ascali in the assignments. Good luck.