{"componentChunkName":"component---src-templates-markdown-template-jsx","path":"/guides/data-platform/setup/csv/import/","result":{"data":{"pageMetadata":{"title":"Import Data with CSV Files","path":"/guides/data-platform/setup/csv/import/","sourceCode":null,"metadataParent":{"title":"Import Data with CSV Files","path":"/guides/data-platform/setup/csv/","sourceCode":null,"hasVersionPicker":null,"metadataChildren":[{"title":"Import Data with CSV Files","path":"/guides/data-platform/setup/csv/import/","order":1,"label":null},{"title":"CSV File Reference","path":"/guides/data-platform/setup/csv/reference/","order":2,"label":null},{"title":"SFTP Credentials","path":"/guides/data-platform/setup/csv/sftp-credentials/","order":3,"label":null}],"metadataParent":{"title":"Setup","path":"/guides/data-platform/setup/","metadataChildren":[{"title":"Connections","path":"/guides/data-platform/setup/connections/","order":1,"label":null},{"title":"Feeds","path":"/guides/data-platform/setup/feeds/","order":5,"label":null},{"title":"Import Data with CSV Files","path":"/guides/data-platform/setup/csv/","order":6,"label":null}],"metadataParent":{"title":"Data Platform","path":"/guides/data-platform/","metadataChildren":[{"title":"Trends","path":"/guides/data-platform/trends/","order":1,"label":null},{"title":"Setup","path":"/guides/data-platform/setup/","order":2,"label":null},{"title":"Live Stream","path":"/guides/data-platform/live-stream/","order":3,"label":null},{"title":"Data Catalog","path":"/guides/data-platform/catalog/","order":4,"label":null},{"title":"Rules","path":"/guides/data-platform/rules/","order":5,"label":null},{"title":"Plans","path":"/guides/data-platform/data-planning/","order":6,"label":null},{"title":"Filters","path":"/guides/data-platform/data-filter/","order":7,"label":null},{"title":"Event Forwarding","path":"/guides/data-platform/event-forwarding/","order":8,"label":null},{"title":"Event Match Quality","path":"/guides/data-platform/event-match-quality/","order":9,"label":null},{"title":"Data Retention","path":"/guides/data-platform/data-retention/","order":10,"label":null},{"title":"Tiered Events","path":"/guides/data-platform/tiered-events/","order":11,"label":null},{"title":"Blocked Data Backfill Guide","path":"/guides/data-platform/blocked-data-backfill-guide/","order":12,"label":null}],"metadataParent":{"title":"Guides","path":"/guides/","metadataChildren":[{"title":"Platform Overview","path":"/guides/platform-overview/","order":0.5,"label":null},{"title":"Getting Started","path":"/guides/getting-started/","order":1,"label":null},{"title":"mParticle Agent","path":"/guides/mparticle-agent/","order":1.5,"label":null},{"title":"Oversight","path":"/guides/oversight/","order":2,"label":null},{"title":"Data Platform","path":"/guides/data-platform/","order":3,"label":null},{"title":"Data Warehouse","path":"/guides/data-warehouse/","order":4,"label":null},{"title":"Customer 360","path":"/guides/customer-360/","order":5,"label":null},{"title":"Analytics","path":"/guides/analytics/","order":6,"label":null},{"title":"Audiences","path":"/guides/audiences/","order":7,"label":null},{"title":"Settings","path":"/guides/settings/","order":8,"label":null},{"title":"Troubleshooting mParticle","path":"/guides/troubleshooting/","order":10,"label":null},{"title":"Default Service Limits","path":"/guides/default-service-limits/","order":11,"label":null},{"title":"Glossary","path":"/guides/glossary/","order":12,"label":null}],"metadataParent":null}}}}},"markdownRemark":{"html":"<p>You can import bulk data, both user attribute and events, from your data warehouse or legacy system using comma separated values (CSV) files. You can use this technique in all regions and with all outputs.</p>\n<p>Use the following process to load user attribute or event data from CSV files:</p>\n<ul>\n<li>\n<p><a href=\"#1-create-csv-files\">1. Create CSV files</a></p>\n<ul>\n<li><a href=\"#file-guidelines\">File guidelines</a></li>\n<li><a href=\"#data-guidelines\">Data guidelines</a></li>\n</ul>\n</li>\n<li><a href=\"#2-get-credentials-for-the-mparticle-sftp-server\">2. Get credentials for the mParticle SFTP server</a></li>\n<li><a href=\"#3-configure-the-custom-csv-feed\">3. Configure the Custom CSV Feed</a></li>\n<li><a href=\"#4-drop-csv-files-on-the-sftp-server\">4. Drop CSV files on the SFTP server</a></li>\n</ul>\n<h2 id=\"1-create-csv-files\" style=\"position:relative;\"><a href=\"#1-create-csv-files\" aria-label=\"1 create csv files permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>1. Create CSV files</h2>\n<p>Prepare the CSV files for import. Files must follow the guidelines in this section.</p>\n<h3 id=\"file-guidelines\" style=\"position:relative;\"><a href=\"#file-guidelines\" aria-label=\"file guidelines permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>File guidelines</h3>\n<ul>\n<li>Files must adhere to the <a href=\"https://www.rfc-editor.org/rfc/rfc4180.html\">RFC4180 standards</a> for CSV formatting. </li>\n<li>\n<p>Files must be sent in one of the following formats:</p>\n<ul>\n<li>A plain CSV (<code class=\"language-text\">.csv</code>)</li>\n<li>A ZIP file containing one or more CSV files (<code class=\"language-text\">.zip</code>)</li>\n<li>A gzipped CSV (<code class=\"language-text\">.csv.gz</code>).</li>\n<li>A PGP/GPG-encrypted file with the additional extension <code class=\"language-text\">.gpg</code> appended, for example, <code class=\"language-text\">.csv.gpg</code> or <code class=\"language-text\">.csv.gz.gpg</code>). Only encrypted OR unencrypted files can be accepted, but not both.  You must use PGP encryption with mParticle’s public key. See <a href=\"/guides/data-platform/setup/csv/reference/#encrypted-files\">Encrypted files</a> for additional instructions.</li>\n</ul>\n</li>\n<li>File sizes should be between 5 MB and 2 GB. If you upload files outside these limits, processing speed is slower. If possible, split the data across multiple small files, because their processing can be parallelized.</li>\n<li>Each file can only contain events of the same event type. You can’t mix events of different types in the same file.</li>\n<li>Don’t use subfolders.</li>\n<li>Each row size should be under 80 KB. Larger rows may impact performance.</li>\n<li>All column names must be unique.</li>\n<li>Each CSV file must contain fewer than 50 columns.</li>\n<li>\n<p>File name requirements:</p>\n<ul>\n<li>Do not use any dashes ( - ) or dots ( . ) in your file name, other than what is described below.</li>\n<li>End the file name based on the event content in your file:\n<code class=\"language-text\">-custom_event.csv</code>\n<code class=\"language-text\">-commerce_event.csv</code>\n<code class=\"language-text\">-screen_view.csv</code>\n<code class=\"language-text\">-eventless.csv</code> for eventless uploads of user identities and attributes </li>\n</ul>\n</li>\n<li>\n<p>Column names: specify fields according to our <a href=\"/developers/apis/json-reference/\">JSON Schema</a>, using dot notation.</p>\n<ul>\n<li>Column names described are case sensitive.</li>\n</ul>\n</li>\n</ul>\n<h3 id=\"data-guidelines\" style=\"position:relative;\"><a href=\"#data-guidelines\" aria-label=\"data guidelines permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>Data guidelines</h3>\n<ul>\n<li>Environment: include a column name <code class=\"language-text\">environment</code> set to <code class=\"language-text\">development</code> or <code class=\"language-text\">production</code>. If an <code class=\"language-text\">environment</code> column is not included, data is ingested into the production environment.</li>\n<li>\n<p>User and Device IDs: as with any data sent to mParticle, you must include a column with at least one user ID or device ID.  </p>\n<p>  Device IDs</p>\n<ul>\n<li><code class=\"language-text\">device_info.android_advertising_id</code></li>\n<li><code class=\"language-text\">device_info.android_uuid</code></li>\n<li><code class=\"language-text\">device_info.ios_advertising_id</code></li>\n<li><code class=\"language-text\">device_info.att_authorization_status</code></li>\n<li><code class=\"language-text\">device_info.ios_idfv</code></li>\n<li><code class=\"language-text\">device_info.roku_advertising_id</code></li>\n<li><code class=\"language-text\">device_info.roku_publisher_id</code></li>\n<li><code class=\"language-text\">device_info.fire_advertising_id</code></li>\n<li><code class=\"language-text\">device_info.microsoft_advertising_id</code></li>\n</ul>\n<p>  User IDs</p>\n<ul>\n<li><code class=\"language-text\">mpid</code> </li>\n<li><code class=\"language-text\">user_identities.customerid</code>  </li>\n<li><code class=\"language-text\">user_identities.email</code></li>\n<li><code class=\"language-text\">user_identities.facebook</code></li>\n<li><code class=\"language-text\">user_identities.microsoft</code></li>\n<li><code class=\"language-text\">user_identities.twitter</code></li>\n<li><code class=\"language-text\">user_identities.yahoo</code></li>\n<li><code class=\"language-text\">user_identities.other</code></li>\n<li><code class=\"language-text\">user_identities.other2</code></li>\n<li><code class=\"language-text\">user_identities.other3</code></li>\n<li><code class=\"language-text\">user_identities.other4</code></li>\n</ul>\n  <aside>Important: CSV files must have all the required identity columns, and the rows must have valid values in those columns to prevent processing errors.</aside><!--required by whom? how do they know they've satisfied this? -->\n</li>\n<li>\n<p>User attributes:</p>\n<p>  If you include user attributes, for each, include a column named as <code class=\"language-text\">user_attributes.key</code>, where <em>key</em> is a user attribute key. For example:</p>\n<ul>\n<li><code class=\"language-text\">user_attributes.$FirstName</code></li>\n<li><code class=\"language-text\">user_attributes.communication_preference</code></li>\n<li><code class=\"language-text\">user_attributes.Member Tier</code></li>\n</ul>\n<p>  Attribute names with spaces are allowed and do not require quotes. All the keys listed in the <a href=\"/developers/apis/json-reference/\">JSON Reference</a> are supported.</p>\n</li>\n<li>\n<p>Events:</p>\n<ul>\n<li>Use a column named <code class=\"language-text\">events.data.timestamp_unixtime_ms</code> to set the event time.</li>\n<li>Use a column named  <code class=\"language-text\">events.data.custom_attributes.key</code>, where <em>key</em> is an event attribute key, to set custom event attributes.<br>\nAttribute names with spaces are allowed and do not require quotes. All the keys listed in the <a href=\"/developers/apis/json-reference/\">JSON Reference</a> are supported.</li>\n<li>Screen view events: use a column named <code class=\"language-text\">events.data.screen_name</code> if you want to include the screen name.</li>\n<li>Custom events: use columns named <code class=\"language-text\">events.data.event_name</code> and <code class=\"language-text\">events.data.custom_event_type</code> to include custom events.</li>\n<li>\n<p>Commerce events: use columns with the following names for commerce events.  </p>\n<ul>\n<li><code class=\"language-text\">events.data.product_action.action</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.id</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.name</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.category</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.brand</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.variant</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.position</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.price</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.quantity</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.coupon_code</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.added_to_cart_time_ms</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.total_product_amount</code></li>\n<li><code class=\"language-text\">events.data.product_action.products.custom_attributes</code></li>\n</ul>\n<p>Only one product per event can be included for commerce events uploaded via CSV.</p>\n</li>\n</ul>\n</li>\n<li>\n<p>Data types:</p>\n<p>All data in the CSV is converted to a string. The only exceptions to this are values that require a particular data type, such as MPID or IDFA.</p>\n<ul>\n<li>Only standard custom events and screen views, and eventless batches (eventless drops of user identity and attributes), have been tested.</li>\n<li>Attributes sent as arrays are not fully supported. When the entire array is present in a single cell of the CSV file, it is supported and is converted to string. Because there is no way of specifying anything but the first item in an array, repeated header columns, each subsequent column overwrites the previous one. Multiple columns don’t append to the array. This is why you can only include one product for ecommerce events. Commerce events in the Events API support arrays in multiple places, but with CSV files, you can only populate a single item in each of these arrays.</li>\n</ul>\n</li>\n<li>Custom manifest: You can use a custom manifest to drop files created in another system without transforming them. For details, see <a href=\"/guides/data-platform/setup/csv/reference/#use-a-custom-manifest\">Use a custom manifest</a>.</li>\n</ul>\n<h2 id=\"2-get-credentials-for-the-mparticle-sftp-server\" style=\"position:relative;\"><a href=\"#2-get-credentials-for-the-mparticle-sftp-server\" aria-label=\"2 get credentials for the mparticle sftp server permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>2. Get credentials for the mParticle SFTP server</h2>\n<p>mParticle maintains an SFTP server where you drop your CSV files. Your SFTP username and password are self-provisioned from the mParticle dashboard.</p>\n<p>See <a href=\"/guides/data-platform/setup/csv/sftp-credentials/\">SFTP Credentials</a> for step-by-step instructions, including how to reset your password.</p>\n<h2 id=\"3-configure-the-custom-csv-feed\" style=\"position:relative;\"><a href=\"#3-configure-the-custom-csv-feed\" aria-label=\"3 configure the custom csv feed permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>3. Configure the Custom CSV Feed</h2>\n<p>Configure the Custom CSV Feed as input. This step provides the hostname and folder path on the SFTP server where your CSV files must be dropped.  </p>\n<aside>Subdirectories within this drop folder are not supported.  To maintain multiple directories, configure a different input for each directory.</aside>\n<p>To configure the Custom CSV Feed:</p>\n<ol>\n<li>Go to <strong>Data Platform > Setup > Inputs</strong> using the left hand nav and select the <strong>Feeds</strong> tab.</li>\n<li>\n<p>Using the <strong>Add Feed Input +</strong> dropdown menu, search for and select <strong>Custom CSV Feed</strong>.</p>\n<ul>\n<li>If you’ve already added the Custom CSV Feed, it won’t show up in the list. Scroll through the list of feeds until you see <strong>Custom CSV Feed</strong>, and then click the large plus sign in the gray bar to create a new feed. You need one feed for each different event type. </li>\n</ul>\n</li>\n<li>\n<p>Enter the following values:</p>\n<ul>\n<li><strong>Configuration Name</strong>: enter a name that makes this feed easy to recognize in your list of feeds.</li>\n<li><strong>Custom Event Name</strong>: if you are importing a custom event, enter the name that will be used for the custom event.</li>\n<li><strong>Custom Event Type</strong>: if you entered a custom event name, select the event type.</li>\n<li><strong>Custom Manifest</strong>: if you are using a <a href=\"/guides/data-platform/setup/csv/reference/#use-a-custom-manifest\">custom manifest</a>, paste it in the text box provided.</li>\n<li><strong> Expect Encrypted Files</strong>: if you will import a PGP/GPG-encrypted file, select this option.</li>\n</ul>\n</li>\n<li>\n<p>After you complete the connection configuration, click <strong>Issue SFTP Details</strong>. mParticle displays your hostname and path for mParticle’s SFTP server.</p>\n<p><img src=\"/images/csv/hostname.png\" alt=\"screenshot of feeds input connection completed\"></p>\n</li>\n</ol>\n<h2 id=\"4-drop-csv-files-on-the-sftp-server\" style=\"position:relative;\"><a href=\"#4-drop-csv-files-on-the-sftp-server\" aria-label=\"4 drop csv files on the sftp server permalink\" class=\"anchor before\"><svg width=\"16px\" height=\"17px\" viewBox=\"0 0 16 17\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n                <g id=\"Symbols\" stroke=\"none\" stroke-width=\"1\" fill=\"none\" fill-rule=\"evenodd\">\n                    <g id=\"Icon/Link\" fill=\"#98A0A3\" fill-rule=\"nonzero\">\n                        <g id=\"link\">\n                            <path d=\"M9.5,12.4 C9.6,12.4 9.7,12.4 9.9,12.4 C9.8,12.5 9.8,12.5 9.7,12.6 L7.5,14.8 C5.8,16.5 3,16.5 1.3,14.8 C-0.4,13.1 -0.4,10.3 1.3,8.6 L3.5,6.4 C3.6,6.3 3.6,6.3 3.7,6.2 C5,5 6.9,4.8 8.4,5.5 C8.8,5.7 9.3,6 9.6,6.4 C10,6.7 10.2,7.2 10.5,7.6 C10.2,7.9 9.9,8 9.5,8 C9.4,8 9.2,8 9.1,7.9 C8.9,7.5 8.5,7.2 8.1,6.9 C7,6.2 5.5,6.4 4.5,7.3 L3.8,8 L2.3,9.5 C1.2,10.6 1.2,12.5 2.3,13.6 C3.4,14.7 5.3,14.7 6.4,13.6 L7.9,12.1 C8.4,12.3 8.9,12.4 9.5,12.4 Z M14.7,1.3 C13,-0.4 10.2,-0.4 8.5,1.3 L6.3,3.5 C6.2,3.6 6.2,3.6 6.1,3.7 C6.7,3.7 7.4,3.7 8,3.9 L9.5,2.4 C10.6,1.3 12.5,1.3 13.6,2.4 C14.7,3.5 14.7,5.4 13.6,6.5 L12.1,8 L11.4,8.7 C10.4,9.7 8.9,9.8 7.8,9.1 C7.4,8.9 7.1,8.5 6.8,8.1 C6.7,8.1 6.5,8 6.4,8 C6,8 5.6,8.2 5.4,8.4 C5.6,8.8 5.9,9.3 6.3,9.6 C6.6,10 7.1,10.2 7.5,10.5 C9,11.2 10.9,11 12.3,9.8 C12.4,9.7 12.4,9.7 12.5,9.6 L14.7,7.4 C16.4,5.7 16.4,3 14.7,1.3 Z\" id=\"Shape\"></path>\n                        </g>\n                    </g>\n                </g>\n            </svg></a>4. Drop CSV files on the SFTP server</h2>\n<ol>\n<li>Connect to the mParticle SFTP server using the credentials provided. Once you have connected, the mParticle creates the <code class=\"language-text\">drop</code> folder. If you don’t see one, create a folder named <code class=\"language-text\">drop</code>.</li>\n<li>Create a new folder inside the <code class=\"language-text\">drop</code> folder, and name it using the pathname provided in the mParticle UI as shown in the previous section. For example, based on the previous example, the folder path and name is <code class=\"language-text\">sftp.mparticle.com:4422:drop/us1-123456789123456789/</code>. <strong>Hint:</strong> Verify that there are no trailing spaces in the name.</li>\n<li>Use your credentials to upload your CSV files to mParticle’s SFTP server, using the correct path and folder name from the previous step.</li>\n</ol>\n<p>Files on the SFTP location are added to the processing queue nearly immediately.  Depending on file count and file size, a backlog may develop. You can observe how much data has been processed using Data Master and your outbound connections. There is no notification of processing progress or completion.</p>\n<aside><a href=\"https://docs.mparticle.com/guides/data-platform/setup/csv/reference/\">CSV File Reference</a> provides more information about processing behavior and the advanced techniques of working with custom manifests or encrypted files.</aside>","frontmatter":{"title":"Import Data with CSV Files","order":1,"seoTitle":null,"seoDescription":null},"parent":{"__typename":"File","modifiedTime":"October 12, 2026"}}},"pageContext":{"slug":"/guides/data-platform/setup/csv/import/"}},"staticQueryHashes":["2950460867"]}