SlideShare a Scribd company logo
1 of 15
MuleSoft & AnyPoint Lessons
First lesson – Starting a Project on
AnyPoint Software and creating a
Hello, World!
FIRST STEP – CREATING A PROJECT
 With your AnyPoint Studio open, click in File on the top
menu, then you click in Mule Project.
SECOND STEP – SETING A PROJECT
NAME AND CONFIGURING
 This menu will pop up and here you can set a name to your
project and see other settings.
THIRD STEP – STARTING YOUR FLOW
 When you click in finish you will see your ‘Mule Palette’, there
you can drag and drop connectors and other components to
start your flow.
 You can see these conectors on the right side of your screen,
there search for ‘HTTP’, drag and drop a HTTP Connector in
your ‘Palette’.
 After you droped the connector, go to the bottom and look for
General Settings, highlighted in the red rectangle, then click
on the green plus, then proceed to the fourth step.
 There you have, the begin of your Flow.
 See the image of this step in the next slide.
FOURTH STEP – CONFIGURING YOUR
HTTP CONNECTOR
 After you clicked on the green plus, this screen will pop up,
there you can set the global name of your connector, choose
the protocol, host, port and other settings
 In this example we will not work with theese settings, we will
just set the port to 8081, choose the ‘HTTP (Defaults)’, just
like the image, then we click OK.
 See the image of this step in the next slide.
FIFTH STEP – USING OTHER
COMPONENT
 After you clicked the OK button, go to the components menu,
in the right side of your screen, and then search for a
LOGGER CONNECTOR, drag it and drop after the HTTP
CONNECTOR.
 After that, go to the bottom and there you can see the
settings of your logger connector, search the field message,
type #, some options will appear, then choose the #payload
option.
 A logger connector show some information on the console of
Anypoint Studio, when you choose #payload, it will show the
information of the payload connector.
 We will set a payload connector on the next slide.
 See the image of this step in the next slide.
SIXTH STEP – USING THE PAYLOAD
CONNECTOR
 After you dragged the logger connector, go again to the
Menu Components and search for a Set Payload connector,
drag it and drop between the Http Connector and the Logger
connector.
 Go to the bottom of your screen, look for the Value field in
Settings, there you type ‘Hello Wordl!’, use quotes to attibute
the String valor to what you type between it.
 See the image of this step in the next slide.
SEVENTH STEP – RUNNING YOUR
PROGRAM
 After setting all the connectors and configuring it, you are
ready to run your flow and see the result
 Right click on the ‘Palette’ area, then click on ‘Run Project
Lessons’, it will take a while to run.
EIGHT STEP – SEE IF YOUR
PROGRAM EXECUTED PROPERLY
 After your clicked in ‘Run Project Lesson’ and waited it
execute, see in the console if you got this message and see
the status ‘DEPLOYED’, if you do, your program executed
correctly.
NINTH STEP – TESTING YOUR
PROGRAM
 To test your program, open a browser and in the URL field
type localhost:8081/
 Localhost, is the host you configured in the Http connector
settings and 8081 is the port, if you do that you will see in the
browser the result, just like the image.
That is it for this material,
thank you for attention and
keep studying MuleSoft!

More Related Content

Similar to First lesson

UX90-002 Light & Occupancy Logger
UX90-002 Light & Occupancy LoggerUX90-002 Light & Occupancy Logger
UX90-002 Light & Occupancy LoggerNYCCTfab
 
Performance Module 13 State Data Logger
Performance Module 13  State Data Logger Performance Module 13  State Data Logger
Performance Module 13 State Data Logger NYCCTfab
 
Performance Module 13 State Data Logger
Performance Module 13 State Data LoggerPerformance Module 13 State Data Logger
Performance Module 13 State Data LoggerNYCCTfab
 
MoodLocator HwT
MoodLocator HwTMoodLocator HwT
MoodLocator HwTJDihlmann
 
Details Description of Load Runner Recording option
Details Description of  Load Runner Recording optionDetails Description of  Load Runner Recording option
Details Description of Load Runner Recording optionSanchita Singha
 
MAD mobile application development you can learn from here , we perform all c...
MAD mobile application development you can learn from here , we perform all c...MAD mobile application development you can learn from here , we perform all c...
MAD mobile application development you can learn from here , we perform all c...harshalpatil183931
 
Mad&pwa practical no. 1
Mad&pwa practical no. 1Mad&pwa practical no. 1
Mad&pwa practical no. 1nikshaikh786
 
Introduction to toolbox under matlab environment
Introduction to toolbox under matlab environmentIntroduction to toolbox under matlab environment
Introduction to toolbox under matlab environmentParamjeet Singh Jamwal
 
manual vvtk camera_st7501
manual vvtk camera_st7501manual vvtk camera_st7501
manual vvtk camera_st7501TSOLUTIONS
 
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfPERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfarfa442827
 
Genex assistant operation guide (lte)
Genex assistant operation guide (lte)Genex assistant operation guide (lte)
Genex assistant operation guide (lte)Roel Gabon
 
Oracle User Productiviy Kit
Oracle User Productiviy KitOracle User Productiviy Kit
Oracle User Productiviy KitLarry Sherrod
 
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)topomax
 
Pf sense installation and initial setup
Pf sense installation and initial setupPf sense installation and initial setup
Pf sense installation and initial setupHarvey Dime
 
Temperature and Light Logger (UA-002-64)
Temperature and Light Logger (UA-002-64)Temperature and Light Logger (UA-002-64)
Temperature and Light Logger (UA-002-64)NYCCTfab
 

Similar to First lesson (20)

UX90-002 Light & Occupancy Logger
UX90-002 Light & Occupancy LoggerUX90-002 Light & Occupancy Logger
UX90-002 Light & Occupancy Logger
 
Performance Module 13 State Data Logger
Performance Module 13  State Data Logger Performance Module 13  State Data Logger
Performance Module 13 State Data Logger
 
Performance Module 13 State Data Logger
Performance Module 13 State Data LoggerPerformance Module 13 State Data Logger
Performance Module 13 State Data Logger
 
MoodLocator HwT
MoodLocator HwTMoodLocator HwT
MoodLocator HwT
 
Details Description of Load Runner Recording option
Details Description of  Load Runner Recording optionDetails Description of  Load Runner Recording option
Details Description of Load Runner Recording option
 
MAD mobile application development you can learn from here , we perform all c...
MAD mobile application development you can learn from here , we perform all c...MAD mobile application development you can learn from here , we perform all c...
MAD mobile application development you can learn from here , we perform all c...
 
Mad&pwa practical no. 1
Mad&pwa practical no. 1Mad&pwa practical no. 1
Mad&pwa practical no. 1
 
Lab (1) installation of python
Lab (1) installation of pythonLab (1) installation of python
Lab (1) installation of python
 
Introduction to toolbox under matlab environment
Introduction to toolbox under matlab environmentIntroduction to toolbox under matlab environment
Introduction to toolbox under matlab environment
 
manual vvtk camera_st7501
manual vvtk camera_st7501manual vvtk camera_st7501
manual vvtk camera_st7501
 
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdfPERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
PERTEMUAN 3_INTRO TO ANDROID APP DEV.pdf
 
How to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step GuideHow to build your own Android App -Step by Step Guide
How to build your own Android App -Step by Step Guide
 
Genex assistant operation guide (lte)
Genex assistant operation guide (lte)Genex assistant operation guide (lte)
Genex assistant operation guide (lte)
 
Oracle User Productiviy Kit
Oracle User Productiviy KitOracle User Productiviy Kit
Oracle User Productiviy Kit
 
Oracle OSB Tutorial 1
Oracle OSB Tutorial 1Oracle OSB Tutorial 1
Oracle OSB Tutorial 1
 
Trenamento Mc4
Trenamento Mc4Trenamento Mc4
Trenamento Mc4
 
Vb%20 tutorial
Vb%20 tutorialVb%20 tutorial
Vb%20 tutorial
 
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
Full screen Web Browser support RS-232 / TCPIP peripheral (plugin)
 
Pf sense installation and initial setup
Pf sense installation and initial setupPf sense installation and initial setup
Pf sense installation and initial setup
 
Temperature and Light Logger (UA-002-64)
Temperature and Light Logger (UA-002-64)Temperature and Light Logger (UA-002-64)
Temperature and Light Logger (UA-002-64)
 

Recently uploaded

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Celine George
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,Virag Sontakke
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementmkooblal
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaVirag Sontakke
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupJonathanParaisoCruz
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 

Recently uploaded (20)

Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17Computed Fields and api Depends in the Odoo 17
Computed Fields and api Depends in the Odoo 17
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,भारत-रोम व्यापार.pptx, Indo-Roman Trade,
भारत-रोम व्यापार.pptx, Indo-Roman Trade,
 
Hierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of managementHierarchy of management that covers different levels of management
Hierarchy of management that covers different levels of management
 
Painted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of IndiaPainted Grey Ware.pptx, PGW Culture of India
Painted Grey Ware.pptx, PGW Culture of India
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
MARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized GroupMARGINALIZATION (Different learners in Marginalized Group
MARGINALIZATION (Different learners in Marginalized Group
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 

First lesson

  • 1. MuleSoft & AnyPoint Lessons First lesson – Starting a Project on AnyPoint Software and creating a Hello, World!
  • 2. FIRST STEP – CREATING A PROJECT  With your AnyPoint Studio open, click in File on the top menu, then you click in Mule Project.
  • 3. SECOND STEP – SETING A PROJECT NAME AND CONFIGURING  This menu will pop up and here you can set a name to your project and see other settings.
  • 4. THIRD STEP – STARTING YOUR FLOW  When you click in finish you will see your ‘Mule Palette’, there you can drag and drop connectors and other components to start your flow.  You can see these conectors on the right side of your screen, there search for ‘HTTP’, drag and drop a HTTP Connector in your ‘Palette’.  After you droped the connector, go to the bottom and look for General Settings, highlighted in the red rectangle, then click on the green plus, then proceed to the fourth step.  There you have, the begin of your Flow.  See the image of this step in the next slide.
  • 5.
  • 6. FOURTH STEP – CONFIGURING YOUR HTTP CONNECTOR  After you clicked on the green plus, this screen will pop up, there you can set the global name of your connector, choose the protocol, host, port and other settings  In this example we will not work with theese settings, we will just set the port to 8081, choose the ‘HTTP (Defaults)’, just like the image, then we click OK.  See the image of this step in the next slide.
  • 7.
  • 8. FIFTH STEP – USING OTHER COMPONENT  After you clicked the OK button, go to the components menu, in the right side of your screen, and then search for a LOGGER CONNECTOR, drag it and drop after the HTTP CONNECTOR.  After that, go to the bottom and there you can see the settings of your logger connector, search the field message, type #, some options will appear, then choose the #payload option.  A logger connector show some information on the console of Anypoint Studio, when you choose #payload, it will show the information of the payload connector.  We will set a payload connector on the next slide.  See the image of this step in the next slide.
  • 9.
  • 10. SIXTH STEP – USING THE PAYLOAD CONNECTOR  After you dragged the logger connector, go again to the Menu Components and search for a Set Payload connector, drag it and drop between the Http Connector and the Logger connector.  Go to the bottom of your screen, look for the Value field in Settings, there you type ‘Hello Wordl!’, use quotes to attibute the String valor to what you type between it.  See the image of this step in the next slide.
  • 11.
  • 12. SEVENTH STEP – RUNNING YOUR PROGRAM  After setting all the connectors and configuring it, you are ready to run your flow and see the result  Right click on the ‘Palette’ area, then click on ‘Run Project Lessons’, it will take a while to run.
  • 13. EIGHT STEP – SEE IF YOUR PROGRAM EXECUTED PROPERLY  After your clicked in ‘Run Project Lesson’ and waited it execute, see in the console if you got this message and see the status ‘DEPLOYED’, if you do, your program executed correctly.
  • 14. NINTH STEP – TESTING YOUR PROGRAM  To test your program, open a browser and in the URL field type localhost:8081/  Localhost, is the host you configured in the Http connector settings and 8081 is the port, if you do that you will see in the browser the result, just like the image.
  • 15. That is it for this material, thank you for attention and keep studying MuleSoft!