diff --git a/docs/nodes/credentials/Facebook/README.md b/docs/nodes/credentials/Facebook/README.md index 0781ea237..75d3f025d 100644 --- a/docs/nodes/credentials/Facebook/README.md +++ b/docs/nodes/credentials/Facebook/README.md @@ -8,12 +8,12 @@ Create a [Facebook](https://www.facebook.com/) account. ## Using Access Token -1. Access [Facebook for Developers portal](https://developers.facebook.com/ -). +1. Access [Facebook for Developers portal](https://developers.facebook.com/). 2. Click on "My Apps". -3. Access your app. -4. Click Settings, Advanced. -5. Scroll down and note Client Token. -6. Use provided access token with your Facebook node credentials in n8n. +3. Access your app. Create an app if you don't already have one. +4. Access the [Facebook Graph API Explorer](https://developers.facebook.com/tools/explorer/). +5. Select your app under the *Facebook App* dropdown list on the right sidebar. +6. Click on the 'Generate Access Token' button and login with your facebook account. +6. Use generated access token with your Facebook node credentials in n8n. ![Getting Facebook credentials](./using-access-token.gif) diff --git a/docs/nodes/credentials/Facebook/using-access-token.gif b/docs/nodes/credentials/Facebook/using-access-token.gif index 92e8cf506..557778f3f 100644 Binary files a/docs/nodes/credentials/Facebook/using-access-token.gif and b/docs/nodes/credentials/Facebook/using-access-token.gif differ diff --git a/docs/nodes/credentials/MongoDB/README.md b/docs/nodes/credentials/MongoDB/README.md new file mode 100644 index 000000000..28527091a --- /dev/null +++ b/docs/nodes/credentials/MongoDB/README.md @@ -0,0 +1,12 @@ +# MongoDB + +You can find information about the operations supported by the MongoDB node on the [integrations](https://n8n.io/integrations/n8n-nodes-base.mongoDb) page. You can also browse the source code of the node on [GitHub](https://github.com/n8n-io/n8n/tree/master/packages/nodes-base/nodes/MongoDb). + +## Prerequisites + +Create an user account with the appropriate permissions on a MongoDB server. + +## Using Access Token + +1. Retrieve your MongoDB credentials and connection parameters. +2. Use the credentials and connection parameters with your MongoDB node credentials in n8n. diff --git a/docs/nodes/nodes-library/nodes/MongoDB/README.md b/docs/nodes/nodes-library/nodes/MongoDB/README.md new file mode 100644 index 000000000..d3010b38e --- /dev/null +++ b/docs/nodes/nodes-library/nodes/MongoDB/README.md @@ -0,0 +1,48 @@ +--- +permalink: /nodes/n8n-nodes-base.mongoDb +--- + +# MongoDB + +[MongoDB](https://www.mongodb.com/) is a cross-platform document-oriented database program developed by MongoDB Inc. It is classified as a NoSQL database program. MongoDB uses JSON-like documents with optional schemas. + +::: tip 🔑 Credentials +You can find authentication information for this node [here](../../../credentials/MongoDB/README.md). +::: + +## Basic Operations + +- Insert documents +- Find documents +- Delete documents +- Update documents + + +## Example Usage + +This workflow allows you to insert a document into a MongoDB collection. You can also find the [workflow](https://n8n.io/workflows/503) on the website. This example usage workflow would use the following three nodes. +- [Start](../../core-nodes/Start/README.md) +- [Set](../../core-nodes/Set/README.md) +- [MongoDB]() + +The final workflow should look like the following image. + +![A workflow with the MongoDB node](./workflow.png) + +### 1. Start node + +The start node exists by default when you create a new workflow. + +### 2. Set node + +1. Click on the *Add Value* button and select 'String' from the dropdown list. +2. Enter `my_key`in the *Name* field. +3. Enter `my_value` in the *Value* field. + +### 3. MongoDB node + +1. First of all, you'll have to enter credentials for the MongoDB node. You can find out how to do that [here](../../../credentials/MongoDB/README.md). +2. Select 'Insert' from the *Operation* dropdown list. +3. Enter the name of your MongoDB collection in the *Collection* field. +4. Enter `my_key` in the *Fields* field. +5. Click on *Execute Node* to run the workflow. diff --git a/docs/nodes/nodes-library/nodes/MongoDB/workflow.png b/docs/nodes/nodes-library/nodes/MongoDB/workflow.png new file mode 100644 index 000000000..f95f15456 Binary files /dev/null and b/docs/nodes/nodes-library/nodes/MongoDB/workflow.png differ